OpenCores
URL https://opencores.org/ocsvn/product_code_iterative_decoder/product_code_iterative_decoder/trunk

Subversion Repositories product_code_iterative_decoder

[/] [product_code_iterative_decoder/] [trunk/] [xilinx/] [xilinx.do] - Blame information for rev 10

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 arif_endro
# $Id: xilinx.do,v 1.1 2006-01-16 03:40:22 arif_endro Exp $
2
# -----------------------------------------------------------------------------
3
#  Title       :
4
#  Project     :
5
# -----------------------------------------------------------------------------
6
#  File        :
7
#  Author      : "Arif E. Nugroho" 
8
#  Created     : 2005/12/18
9
#  Last update :
10
#  Simulators  :
11
#  Synthesizers:
12
#  Target      :
13
# -----------------------------------------------------------------------------
14
#  Description :
15
# -----------------------------------------------------------------------------
16
#  Copyright (C) 2005 Arif E. Nugroho
17
###############################################################################
18
##
19
##      THIS SOURCE FILE MAY BE USED AND DISTRIBUTED WITHOUT RESTRICTION
20
## PROVIDED THAT THIS COPYRIGHT STATEMENT IS NOT REMOVED FROM THE FILE AND THAT
21
## ANY DERIVATIVE WORK CONTAINS THE ORIGINAL COPYRIGHT NOTICE AND THE
22
## ASSOCIATED DISCLAIMER.
23
##
24
###############################################################################
25
##
26
##      THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
27
## IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
29
## EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
31
## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
32
## OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
33
## WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
34
## OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
35
## ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
##
37
###############################################################################
38
 
39
# Quit Current simulations
40
quit -sim;
41
 
42
# Destroy output window
43
destroy .wave;
44
destroy .list;
45
 
46
# Create new work library
47
vlib work;
48
 
49
# Compile all source
50
vcom ../source/fulladder.vhdl;
51
vcom ../source/adder_08bit.vhdl;
52
vcom ../source/bit_comparator.vhdl;
53
vcom ../source/comparator_7bit.vhdl;
54
vcom ../source/twos_c_8bit.vhdl;
55
vcom ../source/ext_val.vhdl;
56
vcom ../source/ser2par8bit.vhdl;
57
vcom ../source/product_code.vhdl;
58
vcom input.vhdl;
59
vcom senddata.vhdl;
60
vcom analyze.vhdl;
61
vcom xilinx.vhdl;
62
 
63
# Simulate the test_bench and design
64
vsim xilinx
65
 
66
# Show the signal to wave window
67
add wave sim:/xilinx/clock
68
add wave sim:/xilinx/clear
69
add wave sim:/xilinx/start
70
add wave sim:/xilinx/rxin
71
add wave sim:/xilinx/rom_pos
72
add wave sim:/xilinx/y0d
73
add wave sim:/xilinx/y1d
74
add wave sim:/xilinx/y2d
75
add wave sim:/xilinx/y3d
76
add wave sim:/xilinx/senddata
77
add wave sim:/xilinx/match
78
add wave sim:/xilinx/bit_error
79
 
80
add wave -dec sim:/xilinx/my_product_code/y0
81
add wave -dec sim:/xilinx/my_product_code/y1
82
add wave -dec sim:/xilinx/my_product_code/y2
83
add wave -dec sim:/xilinx/my_product_code/y3
84
add wave -dec sim:/xilinx/my_product_code/r0
85
add wave -dec sim:/xilinx/my_product_code/r1
86
add wave -dec sim:/xilinx/my_product_code/c0
87
add wave -dec sim:/xilinx/my_product_code/c1
88
 
89
add wave -dec sim:/xilinx/my_product_code/y0e
90
add wave -dec sim:/xilinx/my_product_code/y1e
91
add wave -dec sim:/xilinx/my_product_code/y2e
92
add wave -dec sim:/xilinx/my_product_code/y3e
93
 
94
add wave -dec sim:/xilinx/my_product_code/row0/ext_r_o
95
add wave -dec sim:/xilinx/my_product_code/row1/ext_r_o
96
add wave -dec sim:/xilinx/my_product_code/row2/ext_r_o
97
add wave -dec sim:/xilinx/my_product_code/row3/ext_r_o
98
 
99
add wave -dec sim:/xilinx/my_product_code/col0/ext_r_o
100
add wave -dec sim:/xilinx/my_product_code/col1/ext_r_o
101
add wave -dec sim:/xilinx/my_product_code/col2/ext_r_o
102
add wave -dec sim:/xilinx/my_product_code/col3/ext_r_o
103
 
104
add wave -dec sim:/xilinx/my_product_code/sum_r_0/adder08_output
105
add wave -dec sim:/xilinx/my_product_code/sum_r_1/adder08_output
106
add wave -dec sim:/xilinx/my_product_code/sum_r_2/adder08_output
107
add wave -dec sim:/xilinx/my_product_code/sum_r_3/adder08_output
108
 
109
add wave -dec sim:/xilinx/my_product_code/sum_c_0/adder08_output
110
add wave -dec sim:/xilinx/my_product_code/sum_c_1/adder08_output
111
add wave -dec sim:/xilinx/my_product_code/sum_c_2/adder08_output
112
add wave -dec sim:/xilinx/my_product_code/sum_c_3/adder08_output
113
 
114
add wave -dec sim:/xilinx/my_product_code/sum_p_0/adder08_output
115
add wave -dec sim:/xilinx/my_product_code/sum_p_1/adder08_output
116
add wave -dec sim:/xilinx/my_product_code/sum_p_2/adder08_output
117
add wave -dec sim:/xilinx/my_product_code/sum_p_3/adder08_output
118
 
119
add wave -dec sim:/xilinx/my_product_code/ext_b_r_0
120
add wave -dec sim:/xilinx/my_product_code/ext_b_r_1
121
add wave -dec sim:/xilinx/my_product_code/ext_b_r_2
122
add wave -dec sim:/xilinx/my_product_code/ext_b_r_3
123
 
124
add wave -dec sim:/xilinx/my_product_code/ext_b_c_0
125
add wave -dec sim:/xilinx/my_product_code/ext_b_c_1
126
add wave -dec sim:/xilinx/my_product_code/ext_b_c_2
127
add wave -dec sim:/xilinx/my_product_code/ext_b_c_3
128
 
129
# Run the simulation
130
force -freeze sim:/xilinx/clock 1 0,0 {50ns} -r 100
131
 
132
# 20024 sample at 100ns => 2002400ns
133
# 20024 sample at 1ns   =>   20024ns
134
run  2001000ns

powered by: WebSVN 2.1.0

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