Forum Discussion
Hi,
May I know which version and edition of the software you are using? Could you provide a test case and steps to reproduce the error?
Thanks
- RRomano0016 years ago
Contributor
Versionless, both 18.1 and 15.0 where same, I recently removed 16.1 and 17.1.
Avalon bus, wrong Symbol size with byteenable size 2 generate wrong Core.
Error is partially captured on waveform but doesn't block code generation.
Generating an IP assign all signal but byteenable (reread first post)
moving byteenable from wrong interface produced this error.
If you are not able to reproduce I can build two snippet, this is stable regardless of OS or version.
- RRomano0016 years ago
Contributor
Step to generate wrong model:
Add Avalon Slave signals ( here was QSYS default, my code was written on Quartus editor then assigned.)
Add byteenable after generating Conduit, then move to conduit ( this generated my mess with Qsys, probably selected by mistake then moved to conduit).
changed symbol width. wrong without byteselect, so it map twice to bus elements still 16 bit wide.
Address range look as it is ok
Build say nothing
Byteselect is still assigned to bus adapter. (found assigned as "11" (VHDL) or 2b'11 Verilog
VHDL generated look ok (My core was ok so took some time to point out)
Memory got duplicated from odd and even addresses, clearly no selection about byte was present and byte writing was destructive.
- RRomano0016 years ago
Contributor
Solve unaddressed issue:
edit IP core(Qsys component):
Select and move to avalon Byteenable
Now Slave interface is complete byte addressable:
Still no error but no wave and error or warning. Yes error is present.
Set to Symbol to right byte size and issue is cured
You can check on both error and correct code where reported as good. Also memory range was reported as good with misaddressed sizes.
Both odd and even word where addressing same word cell.
Here is ok than with wrong signalling was reported same size.
If more details just tell about.