File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -32,21 +32,16 @@ module tt_um_drum_goekce (
3232 end
3333 end else begin
3434 if (cntr != 3 ) cntr <= cntr + 1 ;
35- // if (addr[4] == 1) begin
3635 if (wr_en && addr[3 ] == 1 ) begin
3736 ram[addr] <= uio_in;
3837 end
3938 uo_out <= ram[addr];
40- // end else begin
41- // uo_out <= ram[addr];
4239
43- // end
4440 ram[{cntr, 1'b0 }] <= r[7 :0 ];
4541 ram[{cntr, 1'b1 }] <= r[15 :8 ];
4642 end
4743 end
4844
49-
5045 wire [ (n- 1 ):0 ] a;
5146 wire [ (m- 1 ):0 ] b;
5247 wire [(n+ m)- 1 :0 ] r;
@@ -61,19 +56,13 @@ module tt_um_drum_goekce (
6156 .r(r)
6257 );
6358
64- // assign uo_out = r;
6559 assign a = ram[16 ];
6660 assign b = ram[17 ];
6761
68- // avoid linter warning about unused pins:
69- // wire _unused_pins = &{ena, clk, rst_n, uio_in};
7062 wire _unused_pins = & {ena, ui_in[5 ]};
71- // assign uio_out = r[15:8];
72- // assign uio_oe = {8{ui_in[6]}};
73- assign uio_out = 0 ;
74- assign uio_oe = 0 ;
75-
76- endmodule // tt_um_factory_test
63+ assign uio_out = r[15 :8 ];
64+ assign uio_oe = ui_in[6 ];
65+ endmodule
7766
7867module drum (
7968 a,
You can’t perform that action at this time.
0 commit comments