Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > VHDL > RAM with Fault ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 6112 of 6417
Post > Topic >>

RAM with Fault model

by o.tamimi@[EMAIL PROTECTED] Jun 24, 2008 at 05:06 PM

i would appreciate someone's help

i have to design a VHDL  model describing RAM with two different fault
models, such as stuck at fault and coupling fault
the following code is for genric RAM model, i do not know how can i
optimise it so that a functional fault is injected
library ieee;
use ieee.std_logic_1164.all;


entity RAM8X8 is
    ****t (    Address	       : in integer range 0 to 7;
	      Data            : inout std_logic_vector (7 downto 0);
              WE	       : in std_logic;
              OE	       : in std_logic);
              CS	       : in std_logic);


Architecture behaviour of SRAM8X8 is

Type RAM8X8_array is array (0 to 7) of std_logic_vector (7 downto
0);

 Begin
 Process (address,Data,WE,OE,CS ) is
    Variable mem: RAM8X8_array;

   Begin
	Data<=3D (others =3D> =91Z=92);
		if CS=3D=920=92 then
 			if OE=3D=920=92 then
		Data <=3D mem(Address);
		Elseif WE=3D=920=92 then
			Mem(address):=3D Data;
	End if;
   End if;
 End process;
End RAM8X8;

Many Thanks
Allan
 




 3 Posts in Topic:
RAM with Fault model
o.tamimi@[EMAIL PROTECTED  2008-06-24 17:06:27 
Re: RAM with Fault model
KJ <kkjennings@[EMAIL   2008-06-25 05:08:00 
Re: RAM with Fault model
Marcus Harnisch <marcu  2008-06-30 17:49:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 8:19:48 CST 2008.