1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00

Fixing unconnected wire bug

This commit is contained in:
Andreas Olofsson 2015-12-05 09:01:18 -05:00
parent 2d953d5639
commit dd811ab417
2 changed files with 5 additions and 6 deletions

View File

@ -30,7 +30,7 @@ module oh_lat0 (/*AUTOARG*/
/* verilator lint_off COMBDLY */
// # Real lat0
always @ (/*AUTOSENSE*/clk or in_sl)
always @ (clk or in_sl)
if (~clk)
out_real_sh[DW-1:0] <= in_sl[DW-1:0];
/* verilator lint_on COMBDLY */

View File

@ -15,14 +15,13 @@ module oh_lat1 (/*AUTOARG*/
// Outputs
out_sl,
// Inputs
in_sh, clk, lat_clk
in_sh, clk
);
parameter DW=99;
input [DW-1:0] in_sh;
input clk;
input lat_clk;
output [DW-1:0] out_sl;
// # lat_clk is created in the following way:
@ -34,8 +33,8 @@ module oh_lat1 (/*AUTOARG*/
/* verilator lint_off COMBDLY */
// # Real lat1
always @ (/*AUTOSENSE*/in_sh or lat_clk)
if (lat_clk)
always @ (clk or in_sh)
if (clk)
out_real_sl[DW-1:0] <= in_sh[DW-1:0];
/* verilator lint_on COMBDLY */