• Categories
    • python
    • javascript
    • java
    • reactjs
    • c#
    • android
    • html
    • node.js
    • php
    • r
    • css
    • flutter
    • c++
    • pandas
    • sql
    • python-3.x
    • typescript
    • angular
    • django
    • mysql
    • ios
    • json
    • swift
    All Categories

Category "hdl"

$readmemh doesn't read the values from data file

I'm using readmemh like: reg [11:0] rom [0:121]; initial $readmemh("x.data", rom); My x.data file looks like: line 1: 1 line 2: 10 . . . line 118: 1110101

I wrote this code in Verilog and there are no error messages, but it doesn't work

This is the module: module test (output reg [7:0] Q_out, input [2:0] data_in); always begin case (data_in) 3'b000: Q_out = 8'b10000000;

  • « Previous
  • Next »

Other Categories

monocle-ts

lookup

cstring

build-pipeline-plugin

design-tokens

apache-tomee

azure-servicebus-subscriptions

prepared-statement

angular2-di

smooch

android-studio-arctic-fox

controls

openedx

aedes

apiary.io

wsod

sublime-build

nested

arb

azure-data-catalog

scikit-survival

cheat-engine

typelib

t4mvc

invitation

line-drawing

ontouch

sslexception

file-comparison

http-status-code-504

About Contact Privacy policy Terms and conditions