Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - VHDL File-based CPU Emulator : Available

 
Thread Tools Search this Thread
Old 05-31-2006, 11:38 PM   #1
Default VHDL File-based CPU Emulator : Available


Hosted by opencores.org:
http://www.opencores.org/projects.cg...lator/overview

Hope people find this useful, I sure do... I placed some sample text
files ('programs') that can be played with. The project can be run in
Modelsim without any changes to get a feel for what its doing. Of
course without a top level FPGA design hooked up to it there won't be
much to see.

This project emulates a CPU for an FPGA under simulation with the use
of text files. It can be used to test an FPGA - CPU interface using
realistic real-world stimuli. One main text file per CPU emulation
instance is used for global CPU commands, and thread spawning. Each
spawned thread is tied to an additional text file to use as its 'source
code'.

Features:
Configuration of clock, and reset, and read latency.
Wait for time period
Wait for signal value (good for interrupts)
Declare local and global variables (bit, vector8, or string)
Nested while loops with separate variable space in each nesting
Nested if conditionals (no new variable space)
Unlimited number of threads
Print variables to a file (line by line)
Write a value or variable to an address
Read a value from an address and place in variable
Read using a DMA and writing values to a file

Thread control:
Each thread runs until it hits a wait or the end of the file. If no
wait is hit, then it will continue to run and choke the system. There
is no DMA write provided as the software supports only 0 latency writes
such that consecutive writes in a while loop perform the DMA. See
ctc.txt lines 24 - 36 for an example of this. All commands other than
wait, read and write take 0 time. Only wait or wait_interruptX cause
the thread switching.



nkmlists@gmail.com
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL file IO (using file as variable) veevee1 VHDL 0 03-07-2007 11:56 AM
SONY DVD RW DW-G120A SOMETIMES FAILS...... atlantic965 DVD Video 0 06-18-2006 10:36 PM
problems backing up dvds Lawrence Traub DVD Video 11 09-27-2005 07:34 PM
Re: Ripping DVDs. Please answer the attached question. - Question.txt Stan Brown DVD Video 19 02-09-2005 11:19 PM
Burn process failed - help! Log file posted for help troubleshooting Michael Mason DVD Video 1 08-16-2004 09:24 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46