Altera_Forum
Honored Contributor
15 years agoQuestions from a lab exercise.
Questions from a lab exercise.
Hi all, I am quite new with VHDL language and Quartus, just started to learn from 3 months ago. I got a lab exercise like this. I have been doing that for 2 weeks now, so tiring. The teachers are useless, go and ask them, they just gave me some silly answers. The deadline is in next week, just a lab exercise but it seems very hard for me to do. Ok. So the lab is like this simulation & synthesis of hc11 core aim: To integrate an existing HC11 VHDL core memory and I/O, so that it can be fully synthesized and will execute a simple fragment of compiled C code. introduction: We will start with a freely available HC11 processor core from Green Mountain website ( Google keyword "GM HC11 core") You can download all of the initial files from there. exercise:- Access the two files hc11rtl.vhd and syncore.vhd. Use the Quartus II environment to encapsulate the code as a schematic component.
- Create a new project and add a top-level schematic block diagram. i.e. import the component from point 1. above into the schematic page.
- Connect a RAM block to the HC11 symbol. Write a VHDL version of the HC11 port structure (DDR and I/O registers). Encapsulate the port circuit and instantiate it into your design—as Port A. Make sure you understand how memory and ports are mapped in the HC11 (i.e. memory mapped
- Once you have connected the respective VHDL blocks together, create a small fragment of C code and compile it using appropriate tools (you will find CodeWarrior on the network). Transfer it to the program memory and simulate it running on the core
- Finally, download the compiled file to an Altera DE-1 board and run it. The code will need to do something obvious, like flash a LED sequence, or drive the 7-segment displays, via connections to the port A.