Subversion Repositories programming

Rev

Rev 197 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 197 Rev 207
Line -... Line 1...
-
 
1
/**
-
 
2
 * Copyright 2006, Ira W. Snyder (devel@irasnyder.com)
-
 
3
 * License: GNU General Public License v2 (or, at your option, any later
-
 
4
 * version)
-
 
5
 */
-
 
6
 
-
 
7
/**
-
 
8
 * Name: Ira Snyder
-
 
9
 * Class: CS365 - Computer Architecture
-
 
10
 * Project #1 - Part 1
-
 
11
 * Due: 2006-02-06
-
 
12
 */
-
 
13
 
-
 
14
/**
-
 
15
 * File: ALU4.v
-
 
16
 * Purpose: Implementation of a 4-bit ALU.
-
 
17
 */
-
 
18
 
1
module ALU4 (a, b, cin, op, cout, result);
19
module ALU4 (a, b, cin, op, cout, result);
2
    input[0:3] a, b;
20
    input[0:3] a, b;
3
    input[0:1] op;
21
    input[0:1] op;
4
    input cin;
22
    input cin;
5
 
23