"printf" asking for input data
Hi, my cuestion is why when I ask the user to input data in the test bench with "printf" for my TOP.c not run?
NOTE: I am a new user HLS :)
Regards
welcome
Also besides Gabor's answer, please note that the testbench execution is wrapped into other scripts, so user input would not work because it's not interactive (if i remember correctly) so you can't do cin , gets , scanf etc
From the GUI, when performing csim there is the ability to enter input arguments to the executable - ie the ones passed to argv.
If you want to do user interactions, then you need to go to a command line and navigate to YOURPROJ/YUORSOLUTION/csim/build and run the executatble from there : it's call csim.exe.
As such I would recommend to avoid using user inputs in your testbenchs - but you can use loops or text files with 1000s of test values.
I hope this helps.
Similar Messages
-
Query /report asking for input ? in Apex
Hello all, my name is John and I am asking for help with the following,
I am new to Oracle, Apex and SQL, PL/SQL (as you can tell from my query below.)
I have the very basics of Apex (in that of making reports,forms etc).
I created this query on a view in SQL Developer where it is asking for start and end dates to filter the report. , which is what I want it to do and returns the results I want.
Now I would like to create a report in Apex where it asks for the between dates as it does in the posted query, When that is done I want to pass it to the bipublisher report for pdf printing.
I am running this query as a totals report already (without the line with WHERE clause query asking of course.) in an apex application, crude as it may be.
I have it running as a Interactive reports and can filter the dates that way of couse but I want to learn to create the user input type query/report in Apex.
I have been reading that I would need to use a "pl/sql anonymous block with a "declare' and a page process?. (gettting confused in the "declare" variables and the execute sections)
I have looked at numerous samples and still do not quite getting the blocks down.
If you could point me in the right direction of where to go or better yet if someome could show me coding on how to get this to work in apex report/query (s)?
Slow learn I guess
I am using APEX 3.1.2 on 11g database.
Thanks in advance for help on this.
++++++++++++++++++++++++++++++++++++
----query for truck totals from view-----------
,select
trucktotals.truck_number as "Truck Number",
trucktotals. truck_type as "Truck Type",
sum (trucktotals.end_miles-trucktotals.begin_miles) as "Total Miles",
sum (trucktotals.reg_hours+trucktotals.ot_hours) as "Total Hours",
sum (trucktotals.total_net_tons) as "Total Tons",
avg (trucktotals.equip_rent) as "EQR P_HR"from "trucktotals"
<strong>where trucktotals.wage_date between to_date(:Start_date) and to_date(:end_date)</strong>
group by trucktotals.truck_number, trucktotals.truck_type
order by trucktotals.Truck_Number----end query for truck totals from view------------------+++++++++++++++++++++++++++++++++++++
Edited by: [email protected] on Oct 31, 2008 12:49 PM
Edited by: [email protected] on Oct 31, 2008 12:53 PM
Edited by: [email protected] on Oct 31, 2008 12:54 PMHi Martin,
Thank you for the information, it is a real help to me and gives me more insight toward my learning .
It took me little while , the condition had to be modified a little bit
(had to put parentheses around the :PXXX_START_DATE .... END_DATE, and remove the period to get it to work).
where (:PXXX_START_DATE) is not null and (:PXXX_END_DATE) is not null
It does work to the sense it shows the start and end date fields and the button and the report results below that, and you can enter the dates and the results change.
Looking at my question, I should have been a little more clear in the fact I want query to ask for the dates first in a pop up type window, when you press the "Show Report" button,
and then branches off to show the report. That is the reason I think, I referred to a block or procedure to acomplish this?
Thanks and still learning
John -
Special GL asking for Due Date
Hi SAP Gurus,
When I am trying to post the customer invoice with t.code F-22 and put the Special Ledger indicator it is asking for Due Date as a mandatory field but it should not be because of the payment terms.
Is there any configuration I can use payment terms with special GL indicators for customer and vendor documents.
Is there an option to get the payment terms from the company view when we are creating invoices in special GL indicators. Because the due date that appears, instead of baseline date, payment terms and days as in a common invoice.
Regards,
SimGo to T.Code - OB41 (Field Status for Posting Keys)
Selct Posting Key - 01 & Go inside
Go Inside to Group - Payment Transactions
& Check Out whether Due Date Field is with Required Entry or not. If it is so then make it Optional.
Similarly, Check out Special GL Reconciliation A/C . Through FS00,Check out the Field Status Group of the same (Mostly, it will be G067- Recon.A/Cs) & make the Due Sate Field Optional there as well in Payment Transactions.
Regards..
Ameya.... -
I need to reset my "Rescue email"
in order to do this you have to answer security questions
herein lies my problem
its asks for my date of birth
i enter it and it is not recognised
therefore i can't reset my account information
anybody know what to do next
have contacted itunes but not received any valid help as of yetNo one here will be able to help you. We are fellow users.
You need to contact iTunes support via:
https://expresslane.apple.com
It looks like you've already done that - they can take a day or to respond these days I find.
AC -
I have a wireless router @ home and IPAD was working fine until it started asking for cellular data plan. I always choose later now will not allow me to use safari unless I pick a data plan.
Ok turned off cellular data & roaming off. Checked Wifi Networks it displays my correct network.
Still I can open safari but most of it is shaded in grey so can't navigate. -
Podcasts app asks for cellular data even if the podcast is already downloaded
When playing a podcast without a wifi access, the Podcasts app asks for celluar data access. This is even for podcasts that have already been downloaded and should not require streaming.If I do not provide cellular data access, then the podcast cannot be played.
Is there a way to play downloaded podcasts without cellular data?
Thanks in advance.I have a similar problem on my iPhone 5, iOS 7.0.4.
-
Since I replaced my iPhone 4 with the 5s I have been unable to access icloud. When asked for my password I receive the message that it is not valid. wehn using the security questions the system does recognize my date of birth.
You can have the password reset sent to the email address associated with your ID, as explained in the second option here: http://support.apple.com/kb/HT5787. If you don't have access to the email address, you'll have to contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password, or by contacting the Apple account security team: http://support.apple.com/kb/HT5699.
-
ECATT - How use external file/new variant for input data
Good day,
I want to use an eCATT created by someone else for another request. I want to be able to specify my new input data based on the new request WITHOUT generating a new Transport. Same thing as I'm doing for the CATT ... the CATT is transported but only the input data change depending on the request without generating any transport.
How I build my new input file and how to use it? I tried to download my variant but the only possible format is XML and it's very hard to build a new file based on my request.
Thanks for your help.
SimonHi,
Can you tell me how you are generating the xml file. My guess is you are downloading the Test Script/ Test Configuration. In that case it creates an xml file.
As mentioned by Ajay, In Test Configurator / Test Data - you can create the internal variant first, i.e assuming you have already created parameters.. On the top, you have a download button "Download Variant". This creates a .txt file. You can open the file in excell and edit it.
For the next test, you can select external variant and give the modified file path name.
Let me know if this helps.
Regards
Phanidhar -
Adobe asks for your graduation date when ordering Creative Cloud for students; does that mean it could be cancelled by Adobe after that date? It states:
"This price is valid for a full 12 months. After that, we'll renew your contract automatically unless you cancel. We may verify your academic status at any time and if we find that you don't qualify, we may suspend your account. The price is subject to change. If we ever need to make changes like this, we will always notify you beforehand."Pseudonamed, It will not be canceled it will Auto-Renewed, However if your verification with the educational institution fails, then your subscription can be suspended.
-Nitin -
Why pop up is shown to ask for inputing sales order when using COR1
I want to create a process order with order type PI01, but pop up window is shown to ask for sales order when using COR1. I suppose there is something wrong with material master setting, but I've never set classification to this material.
Please help.Hi Nichole
Is the material assigned to any MRP group , if yes then check the config settings on t-code OPPR, if stg group is assigned. also check the matrial type to default MRP group assignment settings in SPRO>production>mrp>MRPgroup> Define MRP Group for Each Material Type.
regards
Prasad
reward if useful -
Creative Cloud Login Problem - Repeatedly asked for birth date
Having purchased CC and trying to login I continuously get asked for my brithdate. After entering the birthdate the screen returns again to ask for my birthdate. Cant get past this screen so that I can download the CC apps. Any suggestions?
Hi Donatello3,
Welcome to the Community!
I checked your account and found that there is a problem with your Adobe ID i.e. e-mail address. Please check this link http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html and if this doesn't help then click on Chat now button to contact our Adobe support team and they will resolve the problem.
Thanks!
Ankit -
IPad asks for cellular data account to be set up
Since upgrading to iOS 8 our iPad Airs continually ask if we want to setup a data plan. We don't want to so we turn off Cellular in Settings. Does not help. iPad still asks if we want to setup a data plan several times a day. Very annoying. Has anyone else experienced this?
This is for Ipad rather iphone that am having this problem
-
Webservice for input data in BW
With BW 3.5 you can create datasource with webservice (SOAP). How can I develop an html page with input box and a send button for send the data to my Datasource ?
Datasource is created without problem and tested with J2EE Tools.
Any idea ?Hi,
You can use this code to create the HTML page...
Save this code as .html extension..It will work..
please assign points upto your satisfaction level..
<html>
<body>
<P><LABEL ACCESSKEY=U>User name: <INPUT TYPE=text
NAME=username SIZE=8 MAXLENGTH=8></LABEL></P>
<BUTTON NAME=submit VALUE=modify ACCESSKEY=M>Send</BUTTON>
</body>
</html> -
N9 "Drive" always asks for a data connection
Dear all,
New to my N9, I do love it! But is this normal the "Drive" applications doesn't work without a data connection?
Pretty annoying, even if the full map is loaded in the flash, Drive doesn't event start without data link.
Thanks for the help.
Solved!
Go to Solution.@romut
Sorry for any misunderstanding here, if you go to "Settings" > Device > GPS & positioning - do you have the same settings as screenshot?
I get the grey shaded circle on starting "Drive" which disappears once location established.
Happy to have helped forum with a Support Ratio = 42.5 -
Customized message for Input Date
Hi All,
I am using af:inputDate component and i am disabling Sat , Sun ,Min Date and Max Date .When I enter wrong date manually in component that time it is showing "Enter a date that is on one of the following days: sun"
But i want to customize this message ,how can we do that .Please help me.
Thanks,
SreedharHi Lalit,
Thanks for your replay , I don`t have any problem with my format error, I have problem in updating error message given by inputDate component .
Per suppose , this month 25th is Saturday ,if i type date in InputDate component as 05/25/2013 then it is showing error as "Enter a date that is on one of the following days: sun" but i want to modify this message to
"Please enter a valid date. Date cannot be on a Saturday or Sunday" .
Thanks,
Sreedhar
Maybe you are looking for
-
Update notification for Iphoto and when I attempt to install it says I need at least version 10.8.2 installed, when I check my software update it says I have the newest software with 10.8.1?
-
Error while importing Webservice Model in NWDS in java WebDynpro
Hi All, Our Project FileNet team has developed 1 web service and they have given us WSDL of that webservice. I have to use this webservice in my java webdynpro code. We have 2 different webdynpro DC, In one DC I have imported this webservice model as
-
[SOLVED]nm-applet fails to launch after update
Hi, I've just updated NetworkManager and network-manager-applet: [2012-10-31 20:16] upgraded networkmanager (0.9.6.0-2 -> 0.9.6.4-1) [2012-10-31 20:16] upgraded network-manager-applet (0.9.6.2-1 -> 0.9.6.4-1) After reboot nm-applet fails to launch wi
-
Need info before switching to Apple from Windows
I am looking at a laptop and need to run some windows based programs. I understand that Virtual PC is designed for that. However, I have two GPS programs, neither is Apple compatible. I use a Garmin for my motorcycle and Delorme for my laptop in my t
-
Why it takes long time (about 10 Min) to map the network drivers in windows 8.1? I don't have this problem with any other operating systems (Ex: Windows 7 or XP)