cmos babe
Full Member level 4
Hi,
I have a design that consists of a cpu and a hex to seven segment decoder.. the input of this decoder is connected to a nybble of the databus which is 32 bit wide... i wrote a program that transfers data from memory to a register, then it sends this data to the decoder ..for example if i want F to appear on the seven segment display i should send 0000000F ....the problem is this doesnt work unless i include more ones in the word. so, to get an F i should send FF000000F! and if I remove these extra one's I get a wrong result...anyone has an idea what's this caused by ? This problem doesn't appear in the behavioral simulation.
I have a design that consists of a cpu and a hex to seven segment decoder.. the input of this decoder is connected to a nybble of the databus which is 32 bit wide... i wrote a program that transfers data from memory to a register, then it sends this data to the decoder ..for example if i want F to appear on the seven segment display i should send 0000000F ....the problem is this doesnt work unless i include more ones in the word. so, to get an F i should send FF000000F! and if I remove these extra one's I get a wrong result...anyone has an idea what's this caused by ? This problem doesn't appear in the behavioral simulation.