mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Make old icarus verilog happy
This commit is contained in:
parent
ef3a39e933
commit
31cb54e67e
@ -80,7 +80,7 @@ parameter FIFO_ADDR_WIDTH = LOG_FIFO_DEPTH+1;
|
||||
parameter LOG_AVG = 6;
|
||||
parameter LOG_AVG_SCALE = LOG_AVG+8;
|
||||
parameter LOG_AVG_SYNC_RATE = LOG_RATE;
|
||||
parameter WR_PERIOD = {{INPUT_PERIOD_NS, 16'd0} + INPUT_PERIOD_FNS, 16'd0} / ({OUTPUT_PERIOD_NS, 16'd0} + OUTPUT_PERIOD_FNS) / 2**(LOG_RATE+1);
|
||||
parameter WR_PERIOD = ((((INPUT_PERIOD_NS << 16) + INPUT_PERIOD_FNS) + 64'd0) << 16) / ((OUTPUT_PERIOD_NS << 16) + OUTPUT_PERIOD_FNS) / 2**(LOG_RATE+1);
|
||||
|
||||
reg [NS_WIDTH-1:0] period_ns_reg = OUTPUT_PERIOD_NS;
|
||||
reg [FNS_WIDTH-1:0] period_fns_reg = OUTPUT_PERIOD_FNS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user