Author Topic: modelsim force input simulation.  (Read 660 times)

0 Members and 1 Guest are viewing this topic.

Offline hatokayTopic starter

  • Newbie
  • Posts: 8
  • Country: il
modelsim force input simulation.
« on: January 10, 2019, 12:55:18 pm »
this software is a nightmare!!

i have a simualtion running, it is a 32bit multiplier.
but for some reason when i force a "10" it outputs "16".
so for example if i try to multiplie 10*2 it gives me the result 16*2 =
32;
i put the radix in decimal but it still goes on like this. why?

btw, its like that with all the numbers with zero, meaning 20 is 32.
 

Offline andycsmith

  • Contributor
  • Posts: 16
  • Country: gb
Re: modelsim force input simulation.
« Reply #1 on: January 10, 2019, 04:27:54 pm »
I know nothing about the software but it looks like its accepting Hexadecimal numbers and converting to Decimal

Hex    Decimal
10      16
11      17
1A      26
20      32
etc
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf