LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Usb > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Jecel Assumpcao Jr<jecel@m...>
    Date: Fri Mar 5 19:58:23 CET 2004
    Subject: [usb] Help with Xilinx Webpack
    Top
    On Friday 05 March 2004 03:54, omarcastz@n... wrote:
    > Object ft245_rd of mode OUT can not be read.

    This is a basic VHDL error: if you declare an argument as mode OUT then
    you can only assign values to it like

    ft245_rd <= ....

    but never use it in an expression like

    x <= ft245_rd ...

    And if you declare it as mode IN then you have the opposite
    restrictions. It is very tempting to just declare it as INOUT to solve
    your problem, but often it is better to create a new signal like

    signal ift245_rd : std_logic;

    ft245_rd <= ift245_rd;

    ift245_rd <= ....

    x <= ift245_rd ...

    -- Jecel

    ReferenceAuthor
    [usb] Help with Xilinx WebpackOmarcastz

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.