mithro: just so you're aware - my varsity is shut today thanks to a massive storm, so I'll be spending the day working on GSoC stuff
mithro
paddatrapper: What IRC client do you use?
paddatrapper
mithro: weechat on a remote server that I SSH into
mithro
paddatrapper: Okay - I'm thinking of getting an irccloud subscription for Ishan, so was pondering if you wanted one too
paddatrapper
Thanks for the thought, but I'm happy with weechat
Ishan_Bansal joined the channel
mithro
Hello Ishan_Bansal
Ishan_Bansal
mithro : Hi mithro
mithro
I'll be around for another 1.5 hours before I have to head off to dinner
Ishan_Bansal: so feel free to ask any questions and stuff and I'll try and respond ASAP
Ishan_Bansal
mithro : Is their any way to print the value of the signals we define rather than opening stimulations each time,as when I print the signal it usually lead to the printing of the address in which the value to be stored
mithro
Ishan_Bansal: I don't understand what you are asking?
Can you give me a small example?
Ishan_Bansal
Suppose A=signal(1) ; A.eq(5) ; print(A) ; the output is 0x55.. not 5. Is their any way to print 5
This makes the debugging fast and easy
mithro
That doesn't quite make sense as "mysig.eq(5)" doesn't make any sense outside of a sync/comb block
Also, you can't store 5 in a Signal which is only 1 bit wide...
mithro : Sorry , just take the signal A = Signal(3), I am just wondering if their is any way to print what is the current value driving in that signal.
mithro
Ishan_Bansal: Also, you don't need to store values in signals unless you actually need to use them inside the FPGA code -- you can just use normal Python code (for example if you are parametrizing) a module
Ishan_Bansal: the "current value" only makes sense in simulation?
You can print the current value during simulation
Infact, I do that all the time for simple things
Ishan_Bansal
Also for dealing with floating point number for Signal() , I am using the following methodology 'https: //pastebin.com/UKszWTNW' ,Is their any better option
Ishan_Bansal: so, do you need to use this floating point number in the FPGA?
IE what are you doing with this floating point number?
Ishan_Bansal
Ya , at a time I have to multiply some values with sqrt_2 in the DCT module
Also for multiplication with cosine and sines
mithro
Ishan_Bansal: then you really care about how it is represented inside the FPGA hardware
Ishan_Bansal: So you need to be explicit about how that is being represented in the hardware
Ishan_Bansal: does that make sense?
sb0 has quit
sb0 joined the channel
Ishan_Bansal
mithro: ya, I got the point
Ishan_Bansal has quit
rohitksingh_work joined the channel
rohitksingh_wor1 has quit
sb0 has quit
rohitksingh_work has quit
rohitksingh joined the channel
paddatrapper
mithro: I'm having trouble with the serial stuff. Neither baud rate (9600 or 115200) seesm to work. I think I have got the wiring working - looking at the source and the datasheets. Any ideas?