Working:
Structs in Verilog, steering code based on size, alignment, byte enables
.mif generation of any struct
get element pointer of any struct
Struct assignment, which boils down to memset, memcpy, which in turn boils down to casting struct ptr to long long ptr
Alignments are handled with a self-defined TargetData
Pointers in struct, pointers to structs (reduce pointers to 32 bits)
Comparison to NULL pointer
DMIPS/MHz (on anything):
DMIPS (on Cyclone II with peephole optimizations):
DMIPS (on Stratix II):
Fmax = 237.02
MHz ( period = 4.219 ns )
251 DMIPS
Without inlining (inlining is not allowed by dhrystone)
NIOS II fast (modelsim) at 50MHz
Tiger MIPS at 25MHz
OLD DMIPS/MHz (on anything):
OLD DMIPS (on Cyclone II):
OLD DMIPS (on Stratix II):
134.75
MHz (period = 7.421 ns)
144.2 DMIPS