aboutsummaryrefslogtreecommitdiff
path: root/test/chisel3
diff options
context:
space:
mode:
authorazidar2015-06-12 14:47:54 -0700
committerazidar2015-06-12 14:47:54 -0700
commita1141295b939f2066186c96791bfd64e19209478 (patch)
tree9cf27bcd29797645eba98f24b352141ff11b0264 /test/chisel3
parent21128c8b346693a88b5d8765012c4a7de854a94f (diff)
Major revisions to spec. Bumped to v0.1.2
Diffstat (limited to 'test/chisel3')
-rw-r--r--test/chisel3/ALUTop.fir24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/chisel3/ALUTop.fir b/test/chisel3/ALUTop.fir
index 2cb4c32e..a6fdfd95 100644
--- a/test/chisel3/ALUTop.fir
+++ b/test/chisel3/ALUTop.fir
@@ -100,19 +100,19 @@ circuit ALUTop :
node alu_op2 = mux(T_233, UInt<4>(11), T_232)
alu_op := alu_op2
module ALUTop :
- input io_B : UInt<32>
- output io_out : UInt<32>
- input io_A : UInt<32>
- input io_opcode : UInt<7>
- input io_funct : UInt<3>
- input io_add_rshift_type : UInt<1>
+ input B : UInt<32>
+ output out : UInt<32>
+ input A : UInt<32>
+ input opcode : UInt<7>
+ input funct : UInt<3>
+ input add_rshift_type : UInt<1>
inst alu of ALU
inst alu_dec of ALUdec
- alu_dec.opcode := io_opcode
- alu_dec.funct := io_funct
- alu_dec.add_rshift_type := io_add_rshift_type
- alu.A := io_A
- alu.B := io_B
- io_out := alu.out
+ alu_dec.opcode := opcode
+ alu_dec.funct := funct
+ alu_dec.add_rshift_type := add_rshift_type
+ alu.A := A
+ alu.B := B
+ out := alu.out
alu.alu_op := alu_dec.alu_op