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

Vivado Synthesis Compatability #63

Closed
roowatt opened this issue Sep 7, 2023 · 3 comments
Closed

Vivado Synthesis Compatability #63

roowatt opened this issue Sep 7, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@roowatt
Copy link

roowatt commented Sep 7, 2023

Using latest peakrdl-regblock v0.18.0

I have an issue with synthesis compatability with Vivado 2023.1 when using asynchronous resets (I haven't checked other kinds).

If I have afield without a reset value (ie No reset) then the Vivado synthesiser chokes with a fatal error.

A simplified rdl def is as follows...

addrmap test_case {
name = "Xilinx Vivado Test Case";

    default sw = rw;
    default hw = r;	

    default regwidth = 32;
    default accesswidth = 32;

    addressing = regalign;

	regfile  {
	    default sw = rw;
	    default hw = r;	

		reg {
			field {} field0[16] = 0;
			field {} field1[16] ;
		} reg0;
	} regfile0;
};

Error below...

ERROR: [Synth 8-91] ambiguous clock in event control [/xxxx/peakrdl/build/test_case.sv:294]
ERROR: [Synth 8-6156] failed synthesizing module 'test_case' [/xxxx/peakrdl/build/test_case.sv:4]
@roowatt
Copy link
Author

roowatt commented Sep 8, 2023

Removed extraneous log file details.

@amykyta3
Copy link
Member

amykyta3 commented Sep 8, 2023

Thanks!
I have confirmed the issue and the fix will be in the next release.

@amykyta3 amykyta3 added the bug Something isn't working label Sep 8, 2023
@amykyta3
Copy link
Member

Published in 0.19.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants