Forum Discussion
CAlex
Contributor
2 years agoAvalon mm pipeline bridge problem: multible write
Hi, Im using CycloneVsoc link lwh2f(32bit) ---> Avalon mm pipeline bridge(32bit) -----> MyIP core(8bit) the following is the signal tap result: When I ran alt_write_byte for one time in the ...
sstrell
Super Contributor
2 years agoassign irq_signal = irq_en & reset_assert; always @(posedge clk or negedge reset_n) begin if (reset_n == 1'b0) irq_en <= 1'b0; else if (write) if (writedata[0]) irq_en <= 1'b1; else irq_en <= 1'b0;
Your "write" signal is essentially a synchronous clock enable for the register and writedata[0] is a synchronous set. You just have to cover both cases for it. This should now synthesize correctly.
CAlex
Contributor
2 years agoTHANK YOU,
if you dont mind , I'll add that into my design.