Skip to content

Commit

Permalink
jetzt mit richtigem code
Browse files Browse the repository at this point in the history
  • Loading branch information
jona250210 committed Jan 26, 2024
1 parent e420703 commit 18d6bab
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/tt_um_alu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
//
module tt_um_alu // "tb.dut_inst"
(
input wire [7:0] ui_in,
output wire [7:0] uo_out,
input wire [7:0] uio_in,
output wire [7:0] uio_out,
output wire [7:0] uio_oe,
input wire ena,
input wire clk,
input wire rst_n
input wire [7:0] ui_in,
output wire [7:0] uo_out,
input wire [7:0] uio_in,
output wire [7:0] uio_out,
output wire [7:0] uio_oe,
input wire ena,
input wire clk,
input wire rst_n
);

//------------------------------------------------------------------------------
// Method process: process (alu.cpp:22:5)

wire a = ui_in[3:0];
wire b = ui_in[7:4];
wire opcode = uio_in[2:0];
reg z;
wire [3:0] a = ui_in[3:0];
wire [3:0] b = ui_in[7:4];
wire [2:0] opcode = uio_in[2:0];
reg [3:0] z;

assign uo_out[3:0] = z;
assign uo_out[7:4] = 7'b0000;
Expand Down

0 comments on commit 18d6bab

Please sign in to comment.