Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

VHDL

Name: Anonymous 2011-12-04 5:41

    Boolean logic :          {'0', '1'};
    Troll logic : { 'U','X','0','1','Z','W','L','H','- ', }

Name: Anonymous 2011-12-04 6:34

PORTMAP( 0=>d, 1=>i, 0=>c, 1=>k );

Name: Anonymous 2011-12-04 7:31

       BONUS

Time
Continuous
MIKOsan
Clear

TOTLE

Name: Anonymous 2011-12-05 4:27

I use 'Z' non-ironically in my code.

Name: Anonymous 2011-12-05 4:32

Found an example:




LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
--USE ieee.std_logic_unsigned.ALL;


ENTITY tristate IS
    PORT(    sram_io                : INOUT STD_LOGIC_VECTOR (7 DOWNTO 0);
            sram_te, sram_fe    : IN STD_LOGIC;
            sram_f                : OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
            sram_t                : IN STD_LOGIC_VECTOR (7 DOWNTO 0));
END tristate;

architecture tristate of tristate is

BEGIN
    sram_f <= sram_io WHEN (sram_fe = '1' AND sram_te = '0') ELSE (OTHERS => 'Z');
    sram_io <= sram_t WHEN (sram_te = '1' AND sram_fe = '0') ELSE (OTHERS => 'Z');
END tristate;

Name: Anonymous 2011-12-11 18:35

Actually I'm going to ask about this: As mentioned above, I use Z in my code. I have never, nor have I ever heard of anybody doing this, used any of the other values of STD_LOGIC.

Have any of you used any of the others? Why?

Name: Anonymous 2011-12-11 18:52

Verilog > VHDL

Name: Anonymous 2011-12-12 3:21

I don't think you'll ever need to use them as long as you're doing "FPGA programming".

Name: Anonymous 2011-12-13 15:13

>8

Why _else_ would I use VHDL?

That's a legitimate question btw - if you aren't joking, I honestly don't know what else I'd use VHDL for.

Name: Anonymous 2011-12-13 15:50

what are you programming?
i once programmed a venting machine

Name: Anonymous 2011-12-13 16:26

DUBS MOTHERFUCKER DUBS MOTHERFUCKER DUBS

Name: Anonymous 2011-12-13 18:43


    Troll logic : { 'U','X','0','1','Z','W','L','H','- ', }

syntax error

Name: Anonymous 2011-12-14 2:14

>>9
Simulating whole systems or external interfaces. They're not useful for synthesis, but that's not even what the language was designed for.

Don't change these.
Name: Email:
Entire Thread Thread List