FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > VHDL

VHDL comp.lang.vhdl newsgroup / Usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-01-2005, 10:43 PM
Teten
Guest
 
Posts: n/a
Default Vhdl testbench with textio package

Hello everybody !

I'm design a digital video systems based on MPEG transport Stream
(DVB).
In fact I want to create a model and I must elaborate a DVB generator.

The DVB generator play a file (with hexa values) and I want to inject
these values in a VHDL block.

data_int is STD_LOGIC_VECTOR type

WHILE NOT ENDFILE(fichier) LOOP

readline(fichier, ligne);
hread(ligne,data_int,good); -- Read the B argumen
WHILE good LOOP
WAIT UNTIL rising_edge(CLK_TS); -- pour synchroniser
DATA_TS <= data_int;
hread(ligne,data_int,good);
END LOOP;
END LOOP;

On DATA_TS output I'have the contain of the TS file .

What's happen ?

Is somebody can help me ?

Thanks a lot,
Etienne

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL package Verilog testbench rik Verilog 5 10-13-2006 12:21 AM
textio error Pasacco VHDL 3 05-03-2005 10:06 AM
ISE Testbench/Schematic Generation ignores package Dipl.-Ing. Hanns-Walter Schulz VHDL 5 04-26-2005 04:45 PM
ISE Testbench/Schematic Generation ignores package Dipl.-Ing. Hanns-Walter Schulz FPGA 1 04-18-2005 10:22 AM
VHDL-2005 package changes David Bishop VHDL 6 11-22-2004 03:36 PM


All times are GMT +1. The time now is 02:34 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved