• 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

magick++

django-users

interface-builder

qlpreviewcontroller

google-sheets-formula

ora-01481

android-5.0-lollipop

power-automate-desktop

pygooglenews

apexcharts

abstract-data-type

xbox360

react-native-macos

playframework-2.1

idiorm

nstoolbaritem

docker-networking

admin-bro

flask-dance

webjars

snoopy

code-standards

umbraco-blog

whatsapp-stickers

junit5-extension-model

ansi-common-lisp

vpi

xuggler

profanity

amazon-macie

About Contact Privacy policy Terms and conditions