[myhdl-list] myhdl + qucs
Brought to you by:
jandecaluwe
From: Todd Greenwood-G. <t.g...@gm...> - 2013-02-17 18:22:18
|
I'm new to EE, and trying to learn analog, digital, + vhdl. I don't have any hardware, so I'm trying this all via open source digital toolkits. My real attempt at this is to take a simple myhdl snippet (the incrementer here http://www.myhdl.org/doc/current/manual/conversion_examples.html), generate the VHDL, and then insert that into a QUCS project. Why? Well, I'd like to generate simple VHDL components, and then test them in a real circuit with things like transistors and mosfets and whatnot. If there is a better path to this, please speak up :). My issue is that QUCS (via freeHDL) rewrites the vhdl to a different directory, and then chokes on the include file generated by myHDL. // import line chokes on 'work' in QUCS/freeHDL use work.pck_myhdl_07.all; // error >>> work.pck_myhdl_07 is undeclared Now, these are clearly not myHDL issues. However, I've tried various things to work around this...copying the include file into the target vhdl, copying the include file next to the source vhdl file, etc. So, my questions are: 1. Is there a way to tell myHDL to just generate a single VHDL output file? 2. Is there a better tool chain for learning all this stuff? Thanks! -- Todd |