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: Sat Dec 22 17:08:09 CET 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/07/12 22:17:08

    Added: jop/vhdl/simulation bytecode.vhd
    Log:
    symbolic bytecode


    Revision Changes Path
    1.1 jop/vhdl/simulation/bytecode.vhd

    http://www.opencores.org/cvsweb.shtml/jop/vhdl/simulation/bytecode.vhd?rev=1.1&content-type=text/x-cvsweb-markup

    Index: bytecode.vhd
    ===================================================================
    --
    -- bytecode.vhd
    --
    -- Show bytecode mnemonic in the simulation
    --
    -- Author: Martin Schoeberl martin@j...
    --
    --
    --
    -- 2007-12-22 creation
    --


    library std;
    use std.textio.all;

    library ieee;
    use ieee.std_logic_1164.all;
    use ieee.numeric_std.all;

    entity bytecode is

    port (jinstr : in std_logic_vector(7 downto 0));
    end bytecode;

    architecture sim of bytecode is

    type bcval is (iadd, isub
    );
    signal val : bcval;

    begin

    val <= bcval'val(to_integer(unsigned(jinstr)));

    end sim;



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