OpenCores

* NEO430 Processor (MSP430-compatible)

Issue List
MAC16 Error #1
Closed zero_gravity opened this issue over 8 years ago
zero_gravity commented over 8 years ago

The multiplier seems to have some problems computing signed numbers... Also, the linking of the multiplier's register addresses does not work when using TI's MSP430-GCC (uses default MSP430MAC addresses instead of the modified NEO430 ones). However, the implementation of the MAC16 unit is deactivated by default now, so a SW function is used (for now ;) ).

bknemetz commented over 8 years ago

There is a mismatch in the address for the HI/LO MAC result registers in the two files:

neo430.h: #define RESLO ((REG16 0xFF8A)) #define RESHI ((REG16 0xFF8C))

and sys_package.vhd: constant mac16_reshi_addr_c : std_ulogic_vector(15 downto 0) := std_ulogic_vector(unsigned(mac16_base_c) + x"000A"); constant mac16_reshlo_addr_c : std_ulogic_vector(15 downto 0) := std_ulogic_vector(unsigned(mac16_base_c) + x"000C");

One of the files has the HI/LO register addressed swapped.

-Brian

zero_gravity closed this about 8 years ago
zero_gravity commented about 8 years ago

Sorry, I have not noticed this :( But this issue is fixed now! ;)


Assignee
No one
Labels
Bug