altera


How to increase the address in ROM-1Port


I using Altera's Quartus megafunction ROM-1Port and i input 8 data inside and it just shows the first data. I had connect an increment program to increase the address but still it shows the first data. Does it connect it correct? Or I had do it wrong?
Here is the sample code of my increment program:
module Addr(input en, clk,
output [4:0]address);
reg [4:0] c;
reg f;
assign address = c;
initial begin
f = 1'b0;
end
always#(posedge clk)
begin
if (en == 1'b0 && f == 1'b0)
c = 0;
else if (c>8'd7)
f = 1;
else if (en == 1'b1 && f == 1'b0)
c = c+1;
end
endmodule

Related Links

Altera Monitor programm unable to acces jarfile
How can I debug Schematic File separately from my project file in Quartus?
Altera Cyclone V baremetal app fail
How to calculate lut mask for Arria10 LUT for arithmetic mode
How to compile drivers on 3.0.32-yocto-standard
How to use new component created in Qsys to vectorize/group together many signals
How to increase the address in ROM-1Port
C to Fpga error with LCD under Altera DE2-70 board
File Operation issue while porting to Altera NIOS II
How to find system library properties in Nios 2 IDE v12?

Categories

HOME
cygwin
ng-idle
themes
components
obfuscation
scripting
hpc
google-admin-sdk
mql5
vimdiff
plist
why3
plink
keytool
intershop
dreamweaver
mapstruct
nodemcu
sencha-touch
cgbitmapcontext
pic32
apktool
intersystems-cache
nsurl
userdefaults
event-flow
zend-debugger
fiware-cygnus
sim-toolkit
apic
p4merge
chef-solo
laravel-elixir
dcmtk
branching-and-merging
file-sharing
opennms
builder
netbeans6.8
dbcontext
reindex
mathcad
rsa-archer-grc
renaming
testrail
meteor-packages
neon
jquery-jscrollpane
wso2developerstudio
ng-grid
dup
php-socket
contentcontrol
dynamics-nav-2016
binomial-theorem
zscript
vacuum
dnssec
matlab-deployment
umlgraph
mmwormhole
code-documentation
rapidsvn
sonarqube-5.0
easyrtc
imagefilter
lnk
vbe
maven-scm
ui-select2
scmmanager
cardreader
pdfviewer
nokia-s40
monotouch.dialog
zope.interface
dajaxice
apache-whirr
jdb
entitydatasource
cuteeditor
photolibrary
ruby-1.8
silent
facebook-iframe
web-garden
opml
duplex
murmurhash
visualj#
scrubyt

Resources

Encrypt Message