-
Thread
ERSA 111 ms60
for you! You can find (German language) an interesting article regarding the substitution of ERSA111 IC, and the solution seems very simple ERSA111==LM324! The link is: https://www.fingers-welt.de/phpBB/viewtopic.php?t=7438 I hope this may be helpful for you best pienne
> ... the solution seems very simple ERSA111==LM324 Ouch. After five years, just for the records: https://www.mikrocontroller.net/topic/544326#new
-
Thread
VHDL project : 5 bit shift reg
110" (6). what should happen with every rising clock? data <= ? And what should happen if SEL = "111" (7)?
complement when others => data <= std_logic_vector(unsigned(not data) +1); --2s' complement (SEL = "111")[/vhdl]
-
Thread
Active-HDL design
0.0 then report "2. remainder is zero!"; end if; j := 111.1; if a=a*j/111.1 then report "b) equal!"; else report "b) different!"; end if; if a*j/111.1 mod 1.0 = 0.0 then report "3. remainder is zero!"; end if; j:=a*j/111.1 mod 1.0; report "Should be .0 --> " & real'image(j); end process; end; [/vhdl] Think about the results...
-
Thread
Implementation of MASH 111 in verilog
I am trying to design MASH 111 DDSM using verilog. I have attatched the code. But output is "xxx" always. Can someone help?
-
Thread
Verilog circuit
b and c connected at the bottom of the MUX? The left input is b, then a and right is c. So 000 ... 111 is a combination of b, a, c. In VHDL it would be: signal sel := std_logic_vector(2 downto 0); begin sel <= b & a & c; with sel select y <= a and b when "000", c when "001
3'b111: y = a ^ b; endcase end assign sel = b & a & c;
-
Thread
decoder in vhdl dont work in simulation.
then f<="00000100" after 1 ps; elsif a="110" then f<="00000010" after 1 ps; elsif a="111" then f<="00000001" after 1 ps; else null; end if; end if; end process; end bhv; [/vhdl]
010" after 20ns, "011" after 30ns, "100" after 40ns, "101" after 50ns, "110" after 60ns, "111" after 70ns, "000" after 80ns, "001" after 90ns, "010" after 100ns, "011" after 110ns, "100" after 120ns, "101" after 130ns, "110" after 140ns, "111" after 150ns; END; [/vhdl]
-
Thread
Display 640x480 Nexys 3 board
--------------------------------------- if hcounter < 640 and vcounter < 480 then red<= "111"; green<="111"; blue<="11"; hsync<='1'; vsync<='0'; else red<= "111"; green<="111"; blue<="11"; hsync<='1'; vsync<='0'; end if; ----------
-
Thread
Internal signals in vhdl
ms; pon_rst_n <= '0'; wait for 5 ms; pon_rst_n <= '1'; wait for 5 ms; ifc_a27_31 <= "111"; wait; end process; end; [/vhdl]
pon_rst_n <= '0'; wait for 5 ms; pon_rst_n <= '1'; wait for 5 ms; ifc_a27_31 <= "111"; ifc_ad0_7 <= "ZZZ"; BD_SEL_PLD <= '1'; HS_PG00D_PLD <= '0'; HS_FLT_PLD <= '0'; ifc_cs3_n <= '0'; -- low active ifc_oe_n <= '0'; -- low active ifc_we_n <
-
Thread
How to instantiate another vhd file inside testbench, where the testbench is used for opening files
component* of your testbench. And the testbench manages the interconnets between the ReadFile and lab111 *components*.
testbenches should not have entities, i created a new testbench, instantiated both the ReadFile and Lab111 as components, make the necessary port and generic maps & was finally able to load the data into the testbench. Thanks again. Best of Regards, Zahid.
-
Thread
Lookup Table doesnt work
122,122,121,121,121,120,120,120,119,119,119,119,118,118,118,117,117,117,116,116,116,116,115,115, 115,114,114,114,114,113,113,113,113,112,112,112,111,111,111,111,110,110,110,110,109,109,109,109, 108,108,108,108,107,107,107,107,107,106,106,106,106,105,105,105,105,104,104,104,104,104,103,103, 103,103,102,102,102,102,102,101,101,101,101,101,100,100,100,100,100,998,996,994,992,990,988,987
-
Article
-
Article
-
Article
-
Article
-
Article
-
Article
-
Thread
Integer Assignment to STD_LOGIC_VECTOR
: o=8’d1; In my VHDL case statement I could come up with the below assignment case d is when "111" => o <= STD_LOGIC_VECTOR(TO_UNSIGNED(1,8)); Is there an easier way of doing the same without using Type conversions in VHDL. Something like the code below (Although this will return a compile error
#5221815: > In my VHDL case statement I could come up with the below assignment > case d is > when "111" => o <= STD_LOGIC_VECTOR(TO_UNSIGNED(1,8)); > > Is there an easier way of doing the same without using Type conversions > in VHDL. There are literals in VHDL. It's either like x"1" or 16#1#. You
-
Thread
For loop in VHDL
when "001" => aluout <= srca or srcb; when "010"|"110" => aluout <= sum; when "111" => aluout <= (0 => sum(31), others => '0'); when others => aluout <= (others => 'X'); end case; end process; zero <= '1' when (aluout = X"00000000") else '0'; dataadr <=
when "001" => aluout <= srca or srcb; when "010"|"110" => aluout <= sum; when "111" => aluout <= (0 => sum(31), others => '0'); when others => aluout <= (others => 'X'); end case; end process; zero <= '1' when (aluout = X"00000000") else '0'; dataadr <=
-
Thread
Verilog VGA code HS VS timing
vc >34 && vc < 515) begin if (hc > 143 && hc < 700) begin red = 3'b111; green = 3'b000; blue= 2'b00; end end end endmodule Plus , ucf file: CE: Start of Constraints generated by PACE #PACE: Start of PACE I/O
vc >34 && vc < 515) > begin > if (hc > 143 && hc < 700) > begin > red = 3'b111; > green = 3'b000; > blue= 2'b00; > end [code] else red = ... else red = [/code]
-
Thread
coding the vga port
- 803 = Sync-pulse + Back-porch + Visible-area then if bin = '1' then red_out <= "111"; green_out <= "111"; blue_out <= "11"; elsif bin = '0' then red_out <= "000"; green_out <= "000"; blue_out <= "00"; end if; else red_out <
-
Thread
Siemens TBB206G CMOS PLL synthesizer integrated circuit
needs 22 bits. The last 3 bits contain the target address. In dual modulus mode this bits have to be 111. N/A divider in binary: 0010 1010 0011 1010 1101 1110. First and last bit is always 0. Bits 2...8 contain the value of divider A and bits 9...23 that of divider N. Divider A = 42 Divider
bits. The > last 3 bits contain the target address. In dual modulus mode this bits > have to be 111. > > N/A divider in binary: 0010 1010 0011 1010 1101 1110. > > First and last bit is always 0. Bits 2...8 contain the value of divider > A and bits 9...23 that of divider N. > > Divider A
-
Thread
help with uart
shift_counter == 4'b1000 || shift_counter == 4'b1111) begin SR_2 <= SR_2 +1; end if(counter8ciklov < 3'b111 && SR_2 == 2'b01)begin counter8ciklov <= counter8ciklov +1; end else begin if(counter8ciklov ==3'b111 && SR_2 == 2'b01)begin SR_2 <= SR_2 +2; counter8ciklov <= 0; end end end always @(posedge
-
Thread
control logic for memory selection
eg:if control signal is 00 memory1 is selected and my address counter starts counting from 000 to 111 (data also sent in parellel)...once complete....then sample next control signal for writing memory2...
previous control signal is generated....ie if i select ctrl to be 00 then addr counts from 000 to 111 even if ctrl changes in between it does not matter..
-
Thread
Variable clock with prescaler?
clock_out <= div(5); elsif (controlfreq <= "110") then clock_out <= div(6); elsif (controlfreq <= "111") then clock_out <= div(7); end if; end process; end bhv; [/vhdl]
<= div(5); > elsif (controlfreq <= "110") then > clock_out <= div(6); > elsif (controlfreq <= "111") then > clock_out <= div(7); I suggest to use the case-construct here. See: https://en.wikibooks.org/wiki/Programmable_Logic/VHDL_Sequential_Statement https://en.wikibooks.org/wiki/VHDL_for_FPGA_Design
-
Thread
Where is the fatal error? I couldnt find it
you have to give every value the correct 4bit. If the int is 9 (1001) so the Segments are all on (111 1111). How is it decided what time is the alarm time? Does the current time just count up from 0 to 9?
-
Thread
car taillights
left2on : std_logic_vector(3 downto 1) := "011"; CONSTANT left3on : std_logic_vector(3 downto 1) := "111"; CONSTANT rightoff : std_logic_vector(3 downto 1) := "000"; CONSTANT right1on : std_logic_vector(3 downto 1) := "100"; CONSTANT right2on : std_logic_vector(3 downto 1) := "110"; CONSTANT right3on : std_logic_vector(3 downto 1) := "111"; signal sclk: std_logic; BEGIN DIVIDER : entity work.clock_divider(behavior) generic map (DIVISOR => DIVISOR) port map (clk => clk, rst => rst, q => sclk); clocked : PROCESS(sclk,rst
-
Thread
Syntax Help with Project
"001" => tempLED <="011"; when "010" => tempLED <="000"; when "011" => tempLED <="111"; when others => tempLED <= "000"; end case; end if; end process; led_out <= tempLED; end balls_arch; library IEEE; use ieee.std_logic_1164.all; entity Baseball
"001" => tempLED <="011"; when "010" => tempLED <="000"; when "011" => tempLED <="111"; when others => tempLED <= "000"; end case; end if; end process; led_out <= tempLED; end ball_arch; library IEEE; use ieee.std_logic_1164.all; entity
-
Article
Frequenzumrichter mit Raumzeigermodulation
Man spricht von den sechs Spannungsvektoren oder Raumzeigern. Hinzu kommen noch die Muster 000 und 111 bei welchen die Motorspannung 0V ist, da alle Wicklungen an + Udc oder - Udc hängen (Nullspannungsvektor). Gibt man nun die Ausgangsmuster 1 bis 6 mit der entsprechenden Frequenz heraus, bekommt man
Endvektor Nullspannungsvektor Nullspannungsvektor Endvektor Anfangsvektor Nullspannungsvektor 000 010 110 111 111 110 010 000 Werden anstelle eines Motors drei im Dreieck geschaltete Widerstände angeschlossen erhält man folgenden Spannungsverlauf: Es ist zu erkennen, wie der Anteil der positiven Spannungsanteile
-
Thread
Counter in verilog
pulse it is 101 then output should be as follows: counter1 000,001,010,011,100,101,110,111, 000,001,.. counter2 011,100,101,110,111,000,001,010, 101,110,.. The code which I tried for that is as follows but not got the correct result ,so please help me to find out the mistake
-
Thread
HELP call VHDL code to other VHDL code
IF (cnt = "1111111111111111111111") THEN state <= "111"; END IF; IF (clk_div2 /= xi) THEN clk_div2 <= clk_div2 + "0000000000001"; ELSE
out_bit_tmp <= NOT out_bit_tmp; END IF; WHEN "111" => cnt <= cnt + "0000000000000000000001"; IF (cnt = "1111111111111111111111") THEN state <= "000";
-
Thread
OpenHR20: Firmware for Honeywell Rondostat HR20E
CTL_creditExpiration; extern int32_t lastTempChangeSumError; extern uint8_t average_sumerr_count; motor.c: 111 CTL_integratorBlock=CTL_INTEGRATOR_BLOCK; watch.c: /* 00 */ ((uint16_t) &sumError) + B16, /* 01 */ ((uint16_t) &CTL_integratorBlock) + B8, /* 02 */ ((uint16_t) &CTL_interatorCredit
folder. now after inserting the batteries there is a bunch of bytes received 170 177 125 053 035 111 091 155 159 191 115 053 059 191 155 159 157 157 191 159 157 139 153 143 139 ..... display shows version 1.0 (last time it said 0.99) any hints? baudrate 9600 stop1 no parity is the voltage
-
Thread
PS2 Keyboard and RAM block interaction Verilog
case (hex_digit) 4'h0: segments = 7'b100_0000; 4'h1: segments = 7'b111_1001; 4'h2: segments = 7'b010_0100; 4'h3: segments = 7'b011_0000; 4'h4: segments = 7'b001_1001; 4'h5: segments = 7'b001_0010; 4'h6: segments = 7'b000_0010; 4'h7: segments = 7'b111_1000; 4'h8: segments = 7'b000_0000; 4'h9: segments = 7'b001_1000; 4'hA: segments = 7'b000_1000; 4'hB: segments = 7'b000_0011; 4'hC: segments
-
Thread
-
Thread
Please help for 4-bit ALU
'1' if (A + B + Cin) > $F else '0' 110 | SUB | |A - B| |'1' if (A < B), else '0' 111 | SBC | |Cin + A-B| |'1' if (A + Cin) < B, else '0' [Zero <= '1' if Output is 0, else '0'] Can someone please help me write a VHDL code for that ALU, You can find attached the
-
Thread
I don't really understand how VGA controlling works
from submodules that decides the "shapes" of objects on screen 3'b ??1: VGA_RGB <= 3'b 111; //white snow 3'b ?10: VGA_RGB <= (color_flag) ? (3'b 110) : (3'b 111); //switching between yellow and white 3'b 100: VGA_RGB <= 3'b 010; //green tree
-
Thread
Help with VHDL code
ELSIF FO = 101 THEN SOUT <= -BI; ELSIF FO = 110 THEN SOUT <= AI + 1; ELSIF FO = 111 THEN SOUT <= AI - 1; END IF; END PROCESS; END FUNCTION8; I guess what Im really asking is do you see anything wrong with the code?? where did I go wrong?? Any suggestions on some
-
Thread
SDRAM Memory Controller for Terasic DE0-nano
s_init_pre; n.address(10) <= '1'; end if; -- T-127, T-111, T-95, T-79, T-63, T-47, T-31, T-15, the 8 refreshes if r.init_counter(14 downto 7) = 0 and r.init_counter(3 downto 0) = 15 then n.state <= s_init_ref;
-
Thread
3 bit output
already designed it. But, the problem is I can't get that desired output I want. I got 000, 001, 011 and 111 outputs. Here I attach my code and testbench and also Isim simulator waveform part. Thank you.
-
Thread
VERILOG CODE
output reg match; reg [2:0] mem[7:0]; initial begin mem[0]=3'b110; mem[1]=3'b010; mem[2]=3'b111; mem[3]=3'b000; mem[4]=3'b110; mem[5]=3'b101; mem[6]=3'b011; mem[7]=3'b110; end always@(posedge clk) begin for(i=3'd0;i<8;i=i+1) begin if (in[i]==1'b1) sum=sum ^ mem[i]; end $display