• 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

rematch

addsubview

system.io.fileinfo

virus

backtrace

mod-fcgid

roles

keep-alive

aws-opsworks

rimraf

dash-bootstrap-components

d

csharpscript

caller-id

rebalancing

ggpairs

azure-iot-central

dash-bio

demand-paging

pass-by-const-reference

ios-frameworks

mpmediaplayercontroller

umbraco7

conditional-comments

getstream-chat

trident

jwt.io

maven-war-plugin

starknet

x-forwarded-for

About Contact Privacy policy Terms and conditions