Altera_Forum
Honored Contributor
17 years agoabout 'DSPB_Type' and 'double' in dspbuilder
I designed a sinwave.mdl yesterday using dspbuilder with the altbus and step block,
but when I simulate it , the process is failed because the source data's type (coming form the step block)is double ,conflicting with the ALTBus's tye (I defined it is "single bit"), what can I do for it ? the error notes: Data type mismatch. Input port 1 of 'mymodel/sinctrl' expects a signal of data type 'DSPB_Type'. However, it is driven by a signal of data type 'double'. Data type mismatch. Output port 1 of 'mymodel/Step' is a signal of data type 'double'. However, it is driving a signal of data type 'DSPB_Type'. Please help me ,thanks!