Re: [myhdl-list] TypeError: concat: inappropriate argument type: <type 'long'>
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2015-04-09 00:31:29
|
On 04/08/2015 10:12 PM, Tony Stark wrote: > I understand what you're saying but it's not what I'm after. I must > not be explaining myself well. I really don't think that's the problem. The problem is rather that you are not listening to what people are telling you. > Let me try it again: Image that you > have created a vhdl entity called "top_level" which was written *only > in VHDL* (not written in MyHDL). Ok. Now imagine you want to write a > testbench for it, but instead of writing it in VHDL like you did with > "top_level", you want to save some time and write the testbench using > MyHDL instead.That's your goal. Ok. > Now MyHDL will be upset because it > doesn't know about "top_level" (since it wasn't written in MyHDL). > That's ok and should be bypassed somehow because you aren't planning > on using MyHDL for simulation anyway. No. Stop right there. This makes no sense at all. It will never work. If you think about it, you should understand why, and if you don't want to think about it, you should have the respect to read the manual that was written for you and is clear about this: http://docs.myhdl.org/en/latest/manual/conversion.html#simulate-first > You want to use ModelSim > instead. The only job tasked to MyHDL is to generate the VHDL version > of the testbench described using the MYHDL language. That is complete nonsense. Change your goal and use MyHDL for simulation in the first place, otherwise stop wasting everbody's time. -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com |