URL
https://opencores.org/ocsvn/w11/w11/trunk
Subversion Repositories w11
Compare Revisions
- This comparison shows the changes necessary to convert path
/w11/tags/w11a_V0.6/rtl/sys_gen/tst_rlink_cuff/nexys2/ic
- from Rev 21 to Rev 24
- ↔ Reverse comparison
Rev 21 → Rev 24
/tb/tb_tst_rlink_cuff_ic_n2.vbom
0,0 → 1,7
# configure tb_nexsy2_fusp_cuff with sys_tst_rlink_cuff_n2 target; |
# use vhdl configure file (tb_tst_rlink_cuff_ic_n2.vhd) to allow |
# that all configurations will co-exist in work library |
${nexys2_fusp_cuff_aif := ../sys_tst_rlink_cuff_ic_n2.vbom} |
sys_conf = sys_conf_sim.vhd |
../../../../../bplib/nexys2/tb/tb_nexys2_fusp_cuff.vbom |
tb_tst_rlink_cuff_ic_n2.vhd |
/tb/Makefile
0,0 → 1,32
# $Id: Makefile 477 2013-01-27 14:07:10Z mueller $ |
# |
# Revision History: |
# Date Rev Version Comment |
# 2013-01-01 467 1.0 Initial version |
# |
EXE_all = tb_tst_rlink_cuff_ic_n2 |
# |
include $(RETROBASE)/rtl/make/xflow_default_nexys2.mk |
# |
.PHONY : all all_ssim all_tsim clean |
# |
all : $(EXE_all) |
all_ssim : $(EXE_all:=_ssim) |
all_tsim : $(EXE_all:=_tsim) |
# |
clean : ise_clean ghdl_clean |
rm -f sys_tst_rlink_cuff_ic_n2.ucf |
# |
#----- |
# |
include $(RETROBASE)/rtl/make/generic_ghdl.mk |
include $(RETROBASE)/rtl/make/generic_xflow.mk |
# |
VBOM_all = $(wildcard *.vbom) |
# |
ifndef DONTINCDEP |
include $(VBOM_all:.vbom=.dep_xst) |
include $(VBOM_all:.vbom=.dep_ghdl) |
include $(wildcard *.o.dep_ghdl) |
endif |
# |
/tb/sys_tst_rlink_cuff_ic_n2.ucf_cpp
0,0 → 1,32
link ../sys_tst_rlink_cuff_ic_n2.ucf_cpp |
tb/sys_tst_rlink_cuff_ic_n2.ucf_cpp
Property changes :
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Index: tb/tbw.dat
===================================================================
--- tb/tbw.dat (nonexistent)
+++ tb/tbw.dat (revision 24)
@@ -0,0 +1,6 @@
+# $Id: tbw.dat 467 2013-01-02 19:49:05Z mueller $
+#
+[tb_tst_rlink_cuff_ic_n2]
+rlink_cext_fifo_rx =
+rlink_cext_fifo_tx =
+rlink_cext_conf =
Index: tb/tb_tst_rlink_cuff_ic_n2_ssim.vbom
===================================================================
--- tb/tb_tst_rlink_cuff_ic_n2_ssim.vbom (nonexistent)
+++ tb/tb_tst_rlink_cuff_ic_n2_ssim.vbom (revision 24)
@@ -0,0 +1,6 @@
+# configure for _*sim case
+# Note: this tb uses sys_tst_rlink_n2.vbom in local directory
+# (not in .. as usual) to allow a tb specific configure !!!
+nexys2_aif = sys_tst_rlink_cuff_ic_n2_ssim.vhd
+tb_tst_rlink_cuff_ic_n2.vbom
+@top:tb_tst_rlink_cuff_ic_n2
Index: tb/tb_tst_rlink_cuff_ic_n2.vhd
===================================================================
--- tb/tb_tst_rlink_cuff_ic_n2.vhd (nonexistent)
+++ tb/tb_tst_rlink_cuff_ic_n2.vhd (revision 24)
@@ -0,0 +1,40 @@
+-- $Id: tb_tst_rlink_cuff_ic_n2.vhd 467 2013-01-02 19:49:05Z mueller $
+--
+-- Copyright 2013- by Walter F.J. Mueller
+--
+-- This program is free software; you may redistribute and/or modify it under
+-- the terms of the GNU General Public License as published by the Free
+-- Software Foundation, either version 2, or at your option any later version.
+--
+-- This program is distributed in the hope that it will be useful, but
+-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
+-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+-- for complete details.
+--
+------------------------------------------------------------------------------
+-- Module Name: tb_tst_rlink_cuff_ic_n2
+-- Description: Configuration for tb_tst_rlink_cuff_ic_n2 for
+-- tb_nexys2_fusp_cuff
+--
+-- Dependencies: sys_tst_rlink_cuff_n2 (fx2_type = 'ic2')
+--
+-- To test: sys_tst_rlink_cuff_n2 (fx2_type = 'ic2')
+--
+-- Verified:
+-- Date Rev Code ghdl ise Target Comment
+-- 2013-01-xx xxx - 0.29 12.1 M53d xc3s1200e u:???
+--
+-- Revision History:
+-- Date Rev Version Comment
+-- 2013-01-01 467 1.0 Initial version
+------------------------------------------------------------------------------
+
+configuration tb_tst_rlink_cuff_ic_n2 of tb_nexys2_fusp_cuff is
+
+ for sim
+ for all : nexys2_fusp_cuff_aif
+ use entity work.sys_tst_rlink_cuff_n2;
+ end for;
+ end for;
+
+end tb_tst_rlink_cuff_ic_n2;
Index: tb/sys_conf_sim.vhd
===================================================================
--- tb/sys_conf_sim.vhd (nonexistent)
+++ tb/sys_conf_sim.vhd (revision 24)
@@ -0,0 +1,60 @@
+-- $Id: sys_conf_sim.vhd 467 2013-01-02 19:49:05Z mueller $
+--
+-- Copyright 2013- by Walter F.J. Mueller
+--
+-- This program is free software; you may redistribute and/or modify it under
+-- the terms of the GNU General Public License as published by the Free
+-- Software Foundation, either version 2, or at your option any later version.
+--
+-- This program is distributed in the hope that it will be useful, but
+-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
+-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+-- for complete details.
+--
+------------------------------------------------------------------------------
+-- Package Name: sys_conf
+-- Description: Definitions for sys_tst_rlink_cuff_ic_n2 (for simulation)
+--
+-- Dependencies: -
+-- Tool versions: xst 13.3; ghdl 0.29
+-- Revision History:
+-- Date Rev Version Comment
+-- 2013-01-01 467 1.0 Initial version
+------------------------------------------------------------------------------
+
+library ieee;
+use ieee.std_logic_1164.all;
+
+use work.slvtypes.all;
+
+package sys_conf is
+
+ constant sys_conf_clkfx_divide : positive := 1;
+ constant sys_conf_clkfx_multiply : positive := 1;
+
+ constant sys_conf_ser2rri_cdinit : integer := 1-1; -- 1 cycle/bit in sim
+
+ constant sys_conf_hio_debounce : boolean := false; -- no debouncers
+
+ constant sys_conf_fx2_type : string := "ic2";
+
+ -- dummy values defs for generic parameters of as controller
+ constant sys_conf_fx2_rdpwldelay : positive := 1;
+ constant sys_conf_fx2_rdpwhdelay : positive := 1;
+ constant sys_conf_fx2_wrpwldelay : positive := 1;
+ constant sys_conf_fx2_wrpwhdelay : positive := 1;
+ constant sys_conf_fx2_flagdelay : positive := 1;
+
+ -- pktend timer setting
+ -- petowidth=10 -> 2^10 30 MHz clocks -> ~33 usec (normal operation)
+ constant sys_conf_fx2_petowidth : positive := 10;
+
+ constant sys_conf_fx2_ccwidth : positive := 5;
+
+ -- derived constants
+
+ constant sys_conf_clksys : integer :=
+ (50000000/sys_conf_clkfx_divide)*sys_conf_clkfx_multiply;
+ constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
+
+end package sys_conf;
Index: tb/.cvsignore
===================================================================
--- tb/.cvsignore (nonexistent)
+++ tb/.cvsignore (revision 24)
@@ -0,0 +1,6 @@
+tb_tst_rlink_cuff_ic_n2
+tb_tst_rlink_cuff_ic_n2_[sft]sim
+rlink_cext_fifo_rx
+rlink_cext_fifo_tx
+rlink_cext_conf
+*.dep_ucf_cpp
Index: tb
===================================================================
--- tb (nonexistent)
+++ tb (revision 24)
tb
Property changes :
Added: svn:ignore
## -0,0 +1,38 ##
+*.dep_ghdl
+*.dep_isim
+*.dep_xst
+work-obj93.cf
+*.vcd
+*.ghw
+*.sav
+*.tmp
+*.exe
+ise
+xflow.his
+*.ngc
+*.ncd
+*.pcf
+*.bit
+*.msk
+isim
+isim.log
+isim.wdb
+fuse.log
+*_[sft]sim.vhd
+*_tsim.sdf
+*_xst.log
+*_tra.log
+*_twr.log
+*_map.log
+*_par.log
+*_pad.log
+*_bgn.log
+*_svn.log
+*_sum.log
+*_[dsft]sim.log
+tb_tst_rlink_cuff_ic_n2
+tb_tst_rlink_cuff_ic_n2_[sft]sim
+rlink_cext_fifo_rx
+rlink_cext_fifo_tx
+rlink_cext_conf
+*.dep_ucf_cpp
Index: Makefile
===================================================================
--- Makefile (nonexistent)
+++ Makefile (revision 24)
@@ -0,0 +1,30 @@
+# $Id: Makefile 477 2013-01-27 14:07:10Z mueller $
+#
+# Revision History:
+# Date Rev Version Comment
+# 2012-12-29 466 1.0 Initial version
+#
+#
+VBOM_all = $(wildcard *.vbom)
+BIT_all = $(VBOM_all:.vbom=.bit)
+#
+include $(RETROBASE)/rtl/make/xflow_default_nexys2.mk
+FX2_FILE = nexys2_jtag_2fifo_ic.ihx
+#
+.PHONY : all clean
+#
+all : $(BIT_all)
+#
+clean : ise_clean
+ rm -f $(VBOM_all:.vbom=.ucf)
+#
+#----
+#
+include $(RETROBASE)/rtl/make/generic_xflow.mk
+include $(RETROBASE)/rtl/make/generic_ghdl.mk
+#
+ifndef DONTINCDEP
+include $(VBOM_all:.vbom=.dep_xst)
+include $(VBOM_all:.vbom=.dep_ghdl)
+endif
+#
Index: sys_tst_rlink_cuff_ic_n2.mfset
===================================================================
--- sys_tst_rlink_cuff_ic_n2.mfset (nonexistent)
+++ sys_tst_rlink_cuff_ic_n2.mfset (revision 24)
@@ -0,0 +1,104 @@
+# $Id: sys_tst_rlink_cuff_ic_n2.mfset 466 2012-12-30 13:26:55Z mueller $
+#
+# ----------------------------------------------------------------------------
+[xst]
+INFO:.*Mux is complete : default of case is discarded
+
+Register in unit has a constant value
+Register in unit has a constant value
+Register in unit has a constant value
+Register in unit has a constant value
+Register in unit has a constant value
+Register in unit has a constant value
+
+Unconnected output port 'SIZE' of component 'fifo_1c_dram'
+Unconnected output port 'LOCKED' of component 'dcm_sfs'
+Unconnected output port 'DOA' of component 'ram_1swar_1ar_gen'
+Unconnected output port 'DOB' of component 'ram_2swsr_wfirst_gen'
+Unconnected output port 'RL_MONI' of component 'rlink_core8'
+
+Input is never used
+Input > is never used
+Input is never used
+Input is never used
+Input > is never used
+Input > is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+Input is never used
+
+Output is never assigned
+
+Signal > is assigned but never used
+Signal is assigned but never used
+Signal > is assigned but never used
+Signal > is assigned but never used
+Signal is assigned but never used
+Signal is assigned but never used
+Signal is assigned but never used
+Signal > is assigned but never used
+Signal > is assigned but never used
+Signal is assigned but never used
+Signal is assigned but never used
+Signal is assigned but never used
+Signal is assigned but never used
+Signal is assigned but never used
+
+Signal is used but never assigned
+Signal is used but never assigned
+Signal is used but never assigned
+
+Signal is never used or assigned
+
+FF/Latch in Unit is equivalent
+
+FF/Latch has a constant value of 0
+FF/Latch has a constant value of 0
+FF/Latch has a constant value of 0
+FF/Latch has a constant value of 0
+FF/Latch has a constant value of 0
+
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+Node of sequential type is unconnected
+
+Node of sequential type is unconnected
+#
+# ----------------------------------------------------------------------------
+[tra]
+
+#
+# ----------------------------------------------------------------------------
+[map]
+The signal is incomplete
+Signal I_FX2_FLAG<3> connected to top level port I_FX2_FLAG<3> has been removed
+INFO:.*
+
+#
+# ----------------------------------------------------------------------------
+[par]
+The signal I_MEM_WAIT_IBUF has no load
+There are 1 loadless signals in this design
+This is normally an ERROR but the CLOCK_DEDICATED_ROUTE constraint was applied
+#
+# ----------------------------------------------------------------------------
+[bgn]
+Spartan-3 1200E and 1600E devices do not support bitstream
+The signal is incomplete
Index: sys_tst_rlink_cuff_ic_n2.ucf_cpp
===================================================================
--- sys_tst_rlink_cuff_ic_n2.ucf_cpp (nonexistent)
+++ sys_tst_rlink_cuff_ic_n2.ucf_cpp (revision 24)
@@ -0,0 +1,22 @@
+## $Id: sys_tst_rlink_cuff_ic_n2.ucf_cpp 466 2012-12-30 13:26:55Z mueller $
+##
+## Revision History:
+## Date Rev Version Comment
+## 2012-12-29 466 1.0 Initial version
+##
+
+NET "I_CLK50" TNM_NET = "I_CLK50";
+TIMESPEC "TS_I_CLK50" = PERIOD "I_CLK50" 20 ns HIGH 50 %;
+OFFSET = IN 10 ns BEFORE "I_CLK50";
+OFFSET = OUT 20 ns AFTER "I_CLK50";
+
+#include "bplib/nexys2/nexys2_pins.ucf"
+##
+## Pmod B0 - RS232
+##
+#include "bplib/nexys2/nexys2_pins_pmb0_rs232.ucf"
+##
+## Cypress FX2
+##
+#include "bplib/nexys2/nexys2_pins_fx2.ucf"
+#include "bplib/nexys2/nexys2_time_fx2_ic.ucf"
Index: sys_conf.vhd
===================================================================
--- sys_conf.vhd (nonexistent)
+++ sys_conf.vhd (revision 24)
@@ -0,0 +1,62 @@
+-- $Id: sys_conf.vhd 466 2012-12-30 13:26:55Z mueller $
+--
+-- Copyright 2012- by Walter F.J. Mueller
+--
+-- This program is free software; you may redistribute and/or modify it under
+-- the terms of the GNU General Public License as published by the Free
+-- Software Foundation, either version 2, or at your option any later version.
+--
+-- This program is distributed in the hope that it will be useful, but
+-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
+-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+-- for complete details.
+--
+------------------------------------------------------------------------------
+-- Package Name: sys_conf
+-- Description: Definitions for sys_tst_rlink_cuff_ic_n2 (for synthesis)
+--
+-- Dependencies: -
+-- Tool versions: xst 13.3; ghdl 0.29
+-- Revision History:
+-- Date Rev Version Comment
+-- 2012-12-29 466 1.0 Initial version
+------------------------------------------------------------------------------
+
+library ieee;
+use ieee.std_logic_1164.all;
+
+use work.slvtypes.all;
+
+package sys_conf is
+
+ constant sys_conf_clkfx_divide : positive := 1;
+ constant sys_conf_clkfx_multiply : positive := 1;
+
+ constant sys_conf_ser2rri_defbaud : integer := 115200; -- default 115k baud
+ constant sys_conf_hio_debounce : boolean := true; -- instantiate debouncers
+
+ constant sys_conf_fx2_type : string := "ic2";
+
+ -- dummy values defs for generic parameters of as controller
+ constant sys_conf_fx2_rdpwldelay : positive := 1;
+ constant sys_conf_fx2_rdpwhdelay : positive := 1;
+ constant sys_conf_fx2_wrpwldelay : positive := 1;
+ constant sys_conf_fx2_wrpwhdelay : positive := 1;
+ constant sys_conf_fx2_flagdelay : positive := 1;
+
+ -- pktend timer setting
+ -- petowidth=10 -> 2^10 30 MHz clocks -> ~33 usec (normal operation)
+ constant sys_conf_fx2_petowidth : positive := 10;
+
+ constant sys_conf_fx2_ccwidth : positive := 5;
+
+ -- derived constants
+
+ constant sys_conf_clksys : integer :=
+ (50000000/sys_conf_clkfx_divide)*sys_conf_clkfx_multiply;
+ constant sys_conf_clksys_mhz : integer := sys_conf_clksys/1000000;
+
+ constant sys_conf_ser2rri_cdinit : integer :=
+ (sys_conf_clksys/sys_conf_ser2rri_defbaud)-1;
+
+end package sys_conf;
Index: sys_tst_rlink_cuff_ic_n2.vbom
===================================================================
--- sys_tst_rlink_cuff_ic_n2.vbom (nonexistent)
+++ sys_tst_rlink_cuff_ic_n2.vbom (revision 24)
@@ -0,0 +1,8 @@
+# conf
+sys_conf = sys_conf.vhd
+# libs
+# components
+# design
+../sys_tst_rlink_cuff_n2.vbom
+@ucf_cpp: sys_tst_rlink_cuff_ic_n2.ucf
+@top: sys_tst_rlink_cuff_n2
Index: .cvsignore
===================================================================
--- .cvsignore (nonexistent)
+++ .cvsignore (revision 24)
@@ -0,0 +1,4 @@
+_impactbatch.log
+sys_tst_rlink_cuff_ic_n2.ucf
+*.dep_ucf_cpp
+*.svf
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 24)
.
Property changes :
Added: svn:ignore
## -0,0 +1,36 ##
+*.dep_ghdl
+*.dep_isim
+*.dep_xst
+work-obj93.cf
+*.vcd
+*.ghw
+*.sav
+*.tmp
+*.exe
+ise
+xflow.his
+*.ngc
+*.ncd
+*.pcf
+*.bit
+*.msk
+isim
+isim.log
+isim.wdb
+fuse.log
+*_[sft]sim.vhd
+*_tsim.sdf
+*_xst.log
+*_tra.log
+*_twr.log
+*_map.log
+*_par.log
+*_pad.log
+*_bgn.log
+*_svn.log
+*_sum.log
+*_[dsft]sim.log
+_impactbatch.log
+sys_tst_rlink_cuff_ic_n2.ucf
+*.dep_ucf_cpp
+*.svf