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

Subversion Repositories wishbone_bfm

[/] [wishbone_bfm/] [trunk/] [rtl/] [wb_master.vhd] - Diff between revs 8 and 10

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 8 Rev 10
Line 1... Line 1...
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
----                                                                       ----
----                                                                       ----
---- WISHBONE XXX IP Core                                                  ----
---- WISHBONE Wishbone_BFM IP Core                                         ----
----                                                                       ----
----                                                                       ----
---- This file is part of the XXX project                                                          ----
---- This file is part of the Wishbone_BFM project                         ----
---- http://www.opencores.org/cores/xxx/                                                   ----
---- http://www.opencores.org/cores/Wishbone_BFM/                          ----
----                                                                       ----
----                                                                       ----
---- Description                                                           ----
---- Description                                                           ----
---- Implementation of XXX IP core according to                            ----
---- Implementation of Wishbone_BFM IP core according to                   ----
---- XXX IP core specification document.                                   ----
---- Wishbone_BFM IP core specification document.                          ----
----                                                                       ----
----                                                                       ----
---- To Do:                                                                ----
---- To Do:                                                                ----
----    NA                                                                 ----
----    NA                                                                 ----
----                                                                       ----
----                                                                       ----
---- Author(s):                                                            ----
---- Author(s):                                                            ----
Line 158... Line 158...
wr_32( x"8000_0004", x"5555_5555", bus_c);  -- write 32 bits address of 32 bit data
wr_32( x"8000_0004", x"5555_5555", bus_c);  -- write 32 bits address of 32 bit data
 
 
rd_32( x"8000_0004", slv_32, bus_c);  -- read 32 bits address of 32 bit data
rd_32( x"8000_0004", slv_32, bus_c);  -- read 32 bits address of 32 bit data
report to_hex( slv_32);
report to_hex( slv_32);
 
 
 
clock_wait( 2, bus_c );
 
 
 
rmw_32( x"8000_0004", slv_32, x"ABCD_EF01", bus_c );
 
report to_hex( slv_32);
 
 
 
clock_wait( 2, bus_c );
 
 
 
rmw_32( x"8000_0004", slv_32, x"01CD_EFAB", bus_c );
 
report to_hex( slv_32);
 
 
 
 
 
 
clock_wait( 1, bus_c );
clock_wait( 1, bus_c );
wb_rst( 2, reset_int, bus_c ); -- reset system for 2 clocks
wb_rst( 2, reset_int, bus_c ); -- reset system for 2 clocks
 
 
 
 
 
 

powered by: WebSVN 2.1.0

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