- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just update what I just tried. I feel I understand more than before, but still dunno what to do next. I hate my teachers now. Haha
What I added here is + Take rw signal from CPU, if rw = 1 that means write, and rw =0 that means read. + The mux here to control the data bus + The encoder to decide which signal receive commands from CPU( I think…:D) + So according to the encoder, we will get If we wanna read from RAM, we choose address for RAM ( Ram_en will be 1), Sel =00; the data from RAM will connect to the data bus( I think) The same for PORT A, Sel =01 when Port_En =1 Good news is I can compile it without any errors. Haha. Thanx for seeing my ques.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page