Giter Site home page Giter Site logo

vhdl-examples's Introduction

CESE VHD

Installation Prequesites

  • python3
  • ghdl
  • gtkwave

Instructoins

Create a new project

python3 cese_vhd.py --create hello_project

Compile & Simulate project

python3 cese_vhd.py --sim hello_project

Generate Testbench template

python3 cese_vhd.py --testbench full_adder

note: it just prints the code, but does not alter any files. note2: it requires the dut .vhd file to be complete.

Result:

library IEEE;
use IEEE.std_logic_1164.all;

entity full_adder_tb is
end;

architecture full_adder_tb_arch of full_adder_tb is
    -- Component Declaration --
    component full_adder is
        port(
            ci_i: in std_logic;
            a_i: in std_logic;
            b_i: in std_logic;
            s_o: out std_logic;
            co_o: out std_logic 

        );
    end component;

    -- Signals Definition --
    XXX

begin

    -- Sequence Goes Here --

    DUT: full_adder
        port map(
            XXX
        );
end;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.