Forum Discussion
Altera_Forum
Honored Contributor
10 years agoYea, the file I have is not for this type of simulation. I need a bus functional model instead. I was reading up on that and it seems like QSYS generates those alreeady..
It seems like the 'Generate Testbench System' feature of QSYS is what I should have been focusing on using. Apparently there is such a thing as mpf files which are modelsim project files and QSYS generates them for you. Not only that, it generates the simulation file too. So in a few clicks you can go from an empty modelsim window to looking at the simulation of your QSYS system before having written any test benches. Of course you would still make changes to the testbench it generates but it sure seems to automate several of the tedious steps. If you already knew about all of that then the big question is why wasn't that the focus instead of trying to do it manually? Of course QSYS threw some errors while it was generating the test bench which may have a lot to do with why I'm seeing a lot of uninitialized waveforms but those errors may be trivial to fix..