Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch: Quicklogic : Functional issue in the design with Yosys generated edf #66

Open
rakeshm75 opened this issue Mar 31, 2020 · 1 comment
Assignees

Comments

@rakeshm75
Copy link

Steps to reproduce the issue

  1. Run the attached design through Yosys flow - works fine
  2. Run PNR of the EDF file created by Yosys on SpDE - works fine
  3. Run Simulation - Fails
  4. Run the FPGA register access test on the board - fails

Expected behavior

write the register (0x40020804) = 0x87F
Read the register (0x40020804) expected result = 0x87B

Actual behavior

write the register (0x40020804) = 0x87F
Read the register (0x40020804) actual result = 0x873

Please describe how the behavior you see differs from the expected behavior.
We see the bit[3] of the register (which is RX FIFO Full Interrupt Enable) = 0 even though it is set to 1.

one observation:
In this design there is a register bit which has the asynchronous set and Async reset, if I change that
register to remove the async set then the register access works fine.

"always @( posedge WBs_CLK_i or posedge WBs_RST_i or posedge DMA_done_i)
begin
if (WBs_RST_i)
begin
DMA_Done_IRQ <= 1'b0;
end
Test_design9.zip
Test_design9.zip

else if (DMA_done_i)
	DMA_Done_IRQ    	     <= 1'b1;
else
begin
	if ( (VGA_DMA_CTRL_Wr_Dcd && WBs_BYTE_STB_i[0]))
    begin
       DMA_Done_IRQ   <=  WBs_DAT_i[2];
    end
end  

end "

@rakeshm75 rakeshm75 changed the title Branch: Quicklogic : Functional issue in the design Branch: Quicklogic : Functional issue in the design with Yosys generated edf Mar 31, 2020
@glatosinski glatosinski self-assigned this Apr 8, 2020
@glatosinski
Copy link

glatosinski commented Apr 22, 2020

We've updated the flip flop implementations - could you please check now how if the design works for you? Please use quicklogic-rebased branch for https://github.com/antmicro/yosys repository

GitHub
Yosys Open SYnthesis Suite. Contribute to antmicro/yosys development by creating an account on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants