Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 472827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:07:33+00:00 2026-05-13T00:07:33+00:00

How do I send data represented by a binary string (e.g. 01011101000100111 , length

  • 0

How do I send data represented by a binary string (e.g. "01011101000100111", length is variable) to an std_logic signal given either fixed delay or clock signal? I want this for a testbench so I’d want to be able to arbitrarily change the binary string with as little hassle as possible, so I’m thinking of using generate.

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:07:33+00:00Added an answer on May 13, 2026 at 12:07 am

    I humbly present a fixed-delay version (it is testbench code after all…). I’ve checked this and it works, but I’m more comfortable in verilog so this code may no be the nicest VHDL ever…

    --
    -- Clocking out bitstream
    --
    
    library ieee;
    use ieee.std_logic_1164.all;
    
    entity stackoverflow_strings is
    end stackoverflow_strings;
    
    -- this is testbench code, so we can use "wait"s inside a "for" loop.
    architecture rtl of stackoverflow_strings is
    signal my_output : std_ulogic;
    begin
    
    shift_data : process is
    constant my_bits : std_logic_vector := B"100101010000100010101";
    begin
       my_output <= '0';
       wait for 10 ns; 
       for i in my_bits'range loop
          my_output <= my_bits(i);
          wait for 10 ns;
       end loop; 
    
       wait;
    end process shift_data;
    
    end rtl;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I send data between sockets in a C-application. I first bind the 'receiver' to
I send data in this way: <form method=post enctype=text/plain action=Func> And I have a
I am trying to send data as a model from an html form to
I am send data from one service to other service using parecable, when I
I am trying to send data through intent from one activity to another. But
I want to send data to a function after the default value of an
Is it possible to send data to another C++ program, without being able to
Question: How do send data to a view model when using command binding? So
I am trying to send data to DotNetOpenAuth website as described here http://msdn.microsoft.com/en-us/library/debx8sh9.aspx Sender
I am trying to send data to my jsp via:xhr.send(projectCode); but apparently the parameter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.