Guest
Hey everyone,
I'm using Precision Synthesis and i want to stop it optimizing some
code that results in shared registers being used, say for example
where i have a 32 bit register initialized on reset to all 1's it's
being replaced by a single register set to 1 shared 32 times. These
registers are just assigned to all 1's for a default as they are later
populated with data read from memory.
The subsequent assignment of data read from memory to these registers
seems to be ignored.
I tried placing "//pragma attribute assertion_checker_machine
resource_sharing false" in the module but it didnt seem to affect it.
There probably is some other issue at play here but if i can rule out
the synthesis tool being the problem then i can confirm it's my dodgy
code! :-O
Cheers!
Rob.
I'm using Precision Synthesis and i want to stop it optimizing some
code that results in shared registers being used, say for example
where i have a 32 bit register initialized on reset to all 1's it's
being replaced by a single register set to 1 shared 32 times. These
registers are just assigned to all 1's for a default as they are later
populated with data read from memory.
The subsequent assignment of data read from memory to these registers
seems to be ignored.
I tried placing "//pragma attribute assertion_checker_machine
resource_sharing false" in the module but it didnt seem to affect it.
There probably is some other issue at play here but if i can rule out
the synthesis tool being the problem then i can confirm it's my dodgy
code! :-O
Cheers!
Rob.