LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Mon Mar 17 00:05:32 CET 2008
    Subject: [cvs-checkins] MODIFIED: r2000 ...
    Top
    Date: 00/08/03 17:00:05

    Modified: r2000/r2000pl/bench/verilog tb_r2000_soc.v
    Log:
    - when freeze or stall; don't let memory operations

    - Modification on the CP0

    - The CP0 is deplaced in the WB stage

    - The INT, SI event signals are treated asynchronously in the WB stage

    - The rCAUSE register is asynchronous now

    - The wException signal is asyncronous instantanously

    - Add a repeat/continous treatement (not completed yet)



    - *** The "INT EXCEPTION NO STALL" work correctly




    Revision Changes Path
    1.4 r2000/r2000pl/bench/verilog/tb_r2000_soc.v

    http://www.opencores.org/cvsweb.shtml/r2000/r2000pl/bench/verilog/tb_r2000_soc.v.diff?r1=1.3&r2=1.4

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: tb_r2000_soc.v
    ===================================================================
    RCS file: /cvsroot/ameziti/r2000/r2000pl/bench/verilog/tb_r2000_soc.v,v
    retrieving revision 1.3
    retrieving revision 1.4
    diff -u -b -r1.3 -r1.4
    --- tb_r2000_soc.v 11 Feb 2008 06:45:15 -0000 1.3
    +++ tb_r2000_soc.v 16 Mar 2008 23:05:32 -0000 1.4
    @@ -242,7 +242,8 @@
    $readmemh("../../../bench/code/opcodes_sraml1.txt", SRAMl.mem1);
    $readmemh("../../../bench/code/opcodes_sraml2.txt", SRAMl.mem2);
    `else
    - $readmemh("../../../bench/code/opcodes_sraml.txt", SRAMl.mem);
    +// $readmemh("../../../bench/code/opcodes_sraml.txt", SRAMl.mem);
    + $readmemh("../../../bench/code/exception_sraml.txt", SRAMl.mem);
    // $readmemh("../../../bench/code/dhry21_sraml.txt", SRAMl.mem);
    // $readmemh("../../../bench/code/rtos_sraml.txt", SRAMl.mem);
    // $readmemh("../../../bench/code/rs_tak_sraml.txt", SRAMl.mem);
    @@ -256,7 +257,8 @@
    $readmemh("../../../bench/code/opcodes_sramh1.txt", SRAMh.mem1);
    $readmemh("../../../bench/code/opcodes_sramh2.txt", SRAMh.mem2);
    `else
    - $readmemh("../../../bench/code/opcodes_sramh.txt", SRAMh.mem);
    +// $readmemh("../../../bench/code/opcodes_sramh.txt", SRAMh.mem);
    + $readmemh("../../../bench/code/exception_sramh.txt", SRAMh.mem);
    // $readmemh("../../../bench/code/dhry21_sramh.txt", SRAMh.mem);
    // $readmemh("../../../bench/code/rtos_sramh.txt", SRAMh.mem);
    // $readmemh("../../../bench/code/rs_tak_sramh.txt", SRAMh.mem);
    @@ -265,11 +267,10 @@
    // $readmemh("../../../bench/code/torture_sramh.txt", SRAMh.mem);
    `endif

    - clk = 1'b0; rst = 1'b1; sig_int = 6'b0; sig_si = 2'b0;
    - #1 rst = 1'b1;
    - #`PERIODE_CLK rst = 1'b0;
    + clk = `LOW; rst = `HIGH; sig_int = `LOW; sig_si = 2'b0;
    + #`PERIODE_CLK rst = `LOW;

    - #(0965*`PERIODE_CLK) sig_int = 1; #(2*`PERIODE_CLK) sig_int = 0;
    + #((0956-1)*`PERIODE_CLK+20) sig_int = `HIGH; #(1*`PERIODE_CLK) sig_int = `LOW;

    end

    @@ -277,9 +278,9 @@
    initial begin
    // $monitor("PC:%h ",UUT.wMem_code_addr);
    // #(1220*`PERIODE_CLK) // 12.2 us
    -// #(550*`PERIODE_CLK) // 5.5 us
    -// #(2000*`PERIODE_CLK) // 20.0 us
    - #(7500*`PERIODE_CLK) // 75.0 us
    +// #(150*`PERIODE_CLK) // 1.5 us
    + #(1300*`PERIODE_CLK) // 13.0 us
    +// #(7500*`PERIODE_CLK) // 75.0 us
    // #(44000*`PERIODE_CLK) // 0.44 ms
    // #(100000*`PERIODE_CLK) // 10 ms
    // #(20000000*`PERIODE_CLK) // 200 ms



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.