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

Subversion Repositories ps2

[/] [ps2/] [tags/] [rel_6/] [bench/] [verilog/] [ps2_test_bench.v] - Diff between revs 5 and 6

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

Rev 5 Rev 6
Line 41... Line 41...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.2  2002/02/18 18:08:31  mihad
 
// One bug fixed
 
//
// Revision 1.1.1.1  2002/02/18 16:16:55  mihad
// Revision 1.1.1.1  2002/02/18 16:16:55  mihad
// Initial project import - working
// Initial project import - working
//
//
//
//
 
 
Line 525... Line 528...
    flags`WB_TRANSFER_CAB      = 0 ;
    flags`WB_TRANSFER_CAB      = 0 ;
    flags`INIT_WAITS           = 0 ;
    flags`INIT_WAITS           = 0 ;
    flags`SUBSEQ_WAITS         = 0 ;
    flags`SUBSEQ_WAITS         = 0 ;
 
 
    read_data`READ_ADDRESS = `KBD_DATA_REG ;
    read_data`READ_ADDRESS = `KBD_DATA_REG ;
    read_data`READ_SEL     = 4'h1 ;
    read_data`READ_SEL     = 4'h8 ;
 
 
    read_status = 0 ;
    read_status = 0 ;
 
 
    i_wb_master.wb_single_read( read_data, flags, read_status ) ;
    i_wb_master.wb_single_read( read_data, flags, read_status ) ;
 
 
Line 558... Line 561...
    flags`WB_TRANSFER_CAB      = 0 ;
    flags`WB_TRANSFER_CAB      = 0 ;
    flags`INIT_WAITS           = 0 ;
    flags`INIT_WAITS           = 0 ;
    flags`SUBSEQ_WAITS         = 0 ;
    flags`SUBSEQ_WAITS         = 0 ;
 
 
    read_data`READ_ADDRESS = `KBD_STATUS_REG ;
    read_data`READ_ADDRESS = `KBD_STATUS_REG ;
    read_data`READ_SEL     = 4'h1 ;
    read_data`READ_SEL     = 4'h8 ;
 
 
    read_status = 0 ;
    read_status = 0 ;
 
 
    i_wb_master.wb_single_read( read_data, flags, read_status ) ;
    i_wb_master.wb_single_read( read_data, flags, read_status ) ;
 
 
Line 595... Line 598...
    flags`INIT_WAITS           = 0 ;
    flags`INIT_WAITS           = 0 ;
    flags`SUBSEQ_WAITS         = 0 ;
    flags`SUBSEQ_WAITS         = 0 ;
 
 
    write_data`WRITE_ADDRESS = address_i ;
    write_data`WRITE_ADDRESS = address_i ;
    write_data`WRITE_DATA    = data_i ;
    write_data`WRITE_DATA    = data_i ;
    write_data`WRITE_SEL     = 4'h1 ;
    write_data`WRITE_SEL     = 4'h8 ;
 
 
    read_status_reg(kbd_status, ok_o) ;
    read_status_reg(kbd_status, ok_o) ;
 
 
    while( ok_o && ( kbd_status & `KBD_IBF ))
    while( ok_o && ( kbd_status & `KBD_IBF ))
    begin
    begin

powered by: WebSVN 2.1.0

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