Hay gusy
Commenting on something I noticed when upgrading from Processor Designer D-2010.1.2 to F-2011.06-SP2 (SP3 too).
The assembler / disassembler on custom hardware misaligns the program memories when the program memory is not a multiple of 8 (byte-aligned).
For example a code like
RAM unsigned bit[12] prog_mem {
SIZE(0x10000);
BLOCKSIZE(12);
ENDIANESS(BIG);
FLAGS(R|X);
}
will not be aligned correctly in the simulator, giving .field values in the disassembler.
You need to pad the program memory with as many bits as needed to round it up so it’s byte aligned.
This code works normally on earlier versions.
I will need to do further testing to find out whether this is a bug or a feature, but my legacy coded needed adjustments.
Regards,
Z

WebIDauth Project