Location:
Search - systemc-2.1.v
Search list
Description: 将VHDL转换为C的软件
将VHDL转换为C的软件-VH2SC is a free basic VHDL to SystemC converter. The converter handles a small subset of Synthesisable VHDL 87/93 language constructs. The current version translates all VHDL IEEE types to sc_int/sc_uint/integers and booleans this in order to maximise performance. The aim of the converter is to produce a cycle accurate model of synthesisable VHDL code. The converter runs on Windows
Example1: Simple counter
Convert the counter.vhd file to SystemC,
c:VHDL2SystemCexample1>vh2sc-v-mti count.vhd
VH2SC-> VHDL to SystemC Converter
Ver 0.21** Alpha Release** (c)HT-Lab 2007
SQLite Version : 3.3.13
Parsing File : count.vhd
Line 9** Info : library ieee ignored
Line 28** Info : VH2SC Translation Disabled
Line 32** Info : VH2SC Translation Re-Enabled
Line 37** Info : process() translated to process_line37
Writing Header File : cnt.h
Writing C++ File : cnt.cpp
** Info : Modelsim SC_MODULE_EXPORT(cnt) macro added
The-v is a verbose flag and-mti is requi
Platform: |
Size: 819200 |
Author: whiz |
Hits:
Description: 0.最简单的SystemC程序:hello, world.
1.用SystemC实现D触发器的例子,同时也演示了如何生成VCD波形文件。
2.用SystemC实现同步FIFO的例子。这个FIFO是从同文件夹的fifo.v(verilog代码)翻译过来的。
3.如何在SystemC中实现延时(类似verilog中的#time)的例子。
4.SystemC文档《User Guide》中的例子。注意和文挡中稍有不同的是修改了packet.h文件,重载了=和<<操作符。这其实也演示了在sc_signal中如何使用用户自定义的struct。
5.构造函数带参数的例子。
6.轮转仲裁的例子。
7.使用类摸板的例子。
8.如何在模块中包含子模块。
9.SystemC的Transaction级验证示例。
10.如何trace一个数组
11.SystemC中使用测试向量文件输入的例子。
12.SystemC采用UDP/TCP通信的例子。
13.Cadence的ncsc的例子。
-0 most simple SystemC program: hello, world.
A D flip-flop using SystemC example also demonstrates how to generate VCD waveform files.
Synchronous FIFO example using SystemC. FIFO is from the same folder fifo.v (Verilog code) translated.
Delay (similar to verilog# time). In SystemC examples.
4.SystemC document the "User Guide" in the example. Note the slightly different cultural block is modified the packet.h file, reload = << operator. In fact, this also demonstrates how to use user-defined struct in sc_signal.
Constructor with parameters example.
(6) examples of web arbitration.
7. The class Moban examples.
8 module contains a sub-module.
9.SystemC of Transaction-Level Verification example.
10 How to trace an array
11.SystemC use the example of the test vector file input.
12.SystemC using the example of the UDP/TCP communication.
Examples of 13.Cadence the ncsc.
Platform: |
Size: 532480 |
Author: sdd |
Hits: