|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
-- Vhdl Source Files:
i2c.vhd -- top level file
i2c_control.vhd -- control function for the I2C master/slave
shift.vhd -- shift register
uc_interface.vhd -- uC interface function for an 8-bit 68000-like uC
upcnt4.vhd -- 4-bit up counter
i2c_timesim.vhd -- post-route I2C simulation netlist
--VHDL Testbench Files:
micro_test.vhd -- top-level VHDL testbench for functional simulation that
instantiates micro_tb.vhd, pullup.vhd, and i2c.vhd.
micro_tb.vhd -- VHDL functional simulation testbench that tests two
instantiations of the I2C design. It configures
one as a master and one as a slave and then
the two I2C designs transfer data over I2C.
micro_test_post.vhd -- top-level VHDL testbench for post-route simulation that
instantiates micro_master_tb.vhd, micro_slave_tb.vhd,
pullup.vhd and the post-route VHDL model time_sim.vho
micro_master_tb.vhd
micro_slave_tb.vhd -- These two files test the post-fit VHDL files output from
Project Navigator. Since in the post-fit VHDL the uC
address is hard-coded, both instantiations of the I2C
design have the same uC address. Therefore separate
testbenches are needed to talk to the two instantiations
of the I2C design; one that configures one of the I2C
designs as a Master, one that configures the other I2C
design as a Slave.
pullup.vhd -- models a pull-up resistor
upcnt4_tb.vhd -- functional testbench for upcnt4
upcnt4_tb_post.vhd -- post-route testbench for upcnt4
-- ModelSim DO files:
micro_test.do -- functional simulation script file that calls wave.do
wave.do -- configures wave window for functional simulation
micro_test_post.do -- post-route simulation script file that calls wave_post.do
wave_post.do -- configures wave window for post-route simulation
-- Report Files
i2c.rpt -- Project Navigator fitter report file
i2c.cxt -- XPower input data file
-- XST Files
i2c.npl -- Project Navigator project file
i2c.jed -- JEDEC programming file with I2C fit to a XCR3256XL-7-TQ144 |
-
-
xapp333.zip
868.83 KB, 下载次数: 151
, 下载积分:
资产 -2 信元, 下载支出 2 信元
i2c 源代码
|