26 lines
547 B
Plaintext
26 lines
547 B
Plaintext
|
-- VHDL Entity WaveformGenerator.sawtoothToSquare.symbol
|
||
|
--
|
||
|
-- Created:
|
||
|
-- by - francois.francois (Aphelia)
|
||
|
-- at - 08:02:49 03/11/19
|
||
|
--
|
||
|
-- Generated by Mentor Graphics' HDL Designer(TM) 2019.2 (Build 5)
|
||
|
--
|
||
|
LIBRARY ieee;
|
||
|
USE ieee.std_logic_1164.all;
|
||
|
USE ieee.numeric_std.all;
|
||
|
|
||
|
ENTITY sawtoothToSquare IS
|
||
|
GENERIC(
|
||
|
bitNb : positive := 16
|
||
|
);
|
||
|
PORT(
|
||
|
square : OUT unsigned (bitNb-1 DOWNTO 0);
|
||
|
sawtooth : IN unsigned (bitNb-1 DOWNTO 0)
|
||
|
);
|
||
|
|
||
|
-- Declarations
|
||
|
|
||
|
END sawtoothToSquare ;
|
||
|
|