OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [readme.txt] - Blame information for rev 18

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 18 gdevic
A-Z80 Logic Design
2
==================
3
Each functional block contains a Quartus project file:
4
.//test_.qpf
5
 
6
Quartus projects are only used as containers for files within individual
7
modules; complete and working top-level solutions that use A-Z80 are in the
8
"host" folder.
9
 
10
Majority of sub-modules are designed in the Quartus schematic editor and then
11
exported to Verilog for simulation and top-level integration.
12
 
13
Simulation
14
==========
15
Before you can load and simulate any module through Modelsim, you need to set up
16
the environment by running 'modelsim_setup.py'. The script creates relative file
17
path mapping to source files in all module project folders.
18
 
19
Each functional block, including the top level, contains a Modelsim simulation
20
profile: .//simulation/modelsim/test_.mpf
21
 
22
After opening a Modelsim session, create a library and compile sources:
23
ModelSim> vlib work
24
Compile->Compile All
25
Run a simulation through one of the defined configurations.
26
 
27
If you get a message "Unable to compile", you likely forgot to run 'modelsim_setup.py'.
28
Exit ModelSim, revert changes to ".mpf" file, delete "work" folder and run
29
'modelsim_setup.py'.
30
 
31
Each project contains a set of predefined waveform scripts which you can
32
load before running a simulation:
33
.//simulation/modelsim/wave_.do

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.