i am doing my final year project about programming use
verilog ,i am new about it so got problem,i want to record
the readings of a waveform every 2us use the verilog
code ,every ten readings i need to add them together after
that i need to compare this series of number to get which
one is the biggest , right now i don't know how to use
code to store the readings every 2us on a waveform ,pls
help me thanks a lot .
I have a file which contains so many lines and variable
number of lines are treated as a record. For example
*first ooooo xxxxx
ttttt mmmm vvvvvvv
*end uuu bbbb
nnnn mmmmm kkkkk
fffff gggg ffff
Here the lines from *first to *end are treated as a record.
The number of lines between *first and *end is not same for
all the records.
Suppose there are 100 records (or number of records are not
predefined)like the format given in the above example. Now
the entire file needs to split into two files, first having
40 and remaining in the second file.
Can we split using sort utility? If possible then what is
the sort card?
Write a function which accepts list of nouns as input
parameter and return the same list in the plural form.
Conditions: i) if last letter is r then append s
ii) if word ends with y then replace it by ies
iii) call this function in main() and produce the
for eg:- if chair is input it should give chairs as output.
how to test pierrot divisor
I would like to inform you that I want to perform a project
neural network to recognize binary images containing three
geometric shapes such as squares,rectangels and circles.
Furthermore,each image includes only one geometric type.
The output of network would be:
'1' if the network detects square shape.
'2' if the network detects rectangle shape.
'3' if the network detects circle shape.
'4' if none of these shapes detected.
Would you please send me a matlab source code for this
Your prompt reply would be so appreciated.
Code for Two Classes for Doing Gzip in Memory?
How to Check if Folder Exists?
Hello Sir, Thanks for the Solution but, can you pls. Explain
the coding for the Static Function & static variable from
the below coding....waiting for Ans.
public static void Main()
fact f=new fact();
int x=1; //Declaration of x as 1
x= x *i;
find out the list of users who have access to all t-codes
starts with 'SU'? thanks in advance all.
Code for Presenting Parent/Child Data in a Data Grid Row?
Financial: credit card number validation) Credit card
numbers follow certain
patterns. A credit card number must have between 13 and 16
digits. It must start
■ 4 for Visa cards
■ 5 for Master cards
■ 37 for American Express cards
■ 6 for Discover cards
In 1954, Hans Luhn of IBM proposed an algorithm for
validating credit card
numbers. The algorithm is useful to determine whether a card
number is entered
correctly or whether a credit card is scanned correctly by a
scanner. All credit
card numbers are generated following this validity check,
commonly known as
the Luhn check or the Mod 10 check, which can be described
as follows (for illustration,
consider the card number 4388576018402626):
1. Double every second digit from right to left. If doubling
of a digit results in a
two-digit number, add up the two digits to get a
2 * 2 = 4
2 * 2 = 4
4 * 2 = 8
1 * 2 = 2
6 * 2 = 12 (1 + 2 = 3)
5 * 2 = 10 (1 + 0 = 1)
8 * 2 = 16 (1 + 6 = 7)
4 * 2 = 8
2. Now add all single-digit numbers from Step 1.
4 + 4 + 8 + 2 + 3 + 1 + 7 + 8 = 37
3. Add all digits in the odd places from right to left in
the card number.
6 + 6 + 0 + 8 + 0 + 7 + 8 + 3 = 38
4. Sum the results from Step 2 and Step 3.
37 + 38 = 75
5. If the result from Step 4 is divisible by 10, the card
number is valid; otherwise,
it is invalid. For example, the number 4388576018402626 is
invalid, but the
number 4388576018410707 is valid.
Write a program that prompts the user to enter a credit card
number as a long
integer. Display whether the number is valid or invalid.
Design your program to
use the following methods:
/** Return true if the card number is valid */
public static boolean isValid(long number)
/** Get the result from Step 2 */
public static int sumOfDoubleEvenPlace(long number)
/** Return this number if it is a single digit, otherwise,
* the sum of the two digits */
public static int getDigit(int number)
/** Return sum of odd place digits in number */
public static int sumOfOddPlace(long number)
/** Return true if the digit d is a prefix for number */
public static boolean prefixMatched(long number, int d)
/** Return the number of digits in d */
public static int getSize(long d)
/** Return the first k number of digits from number. If the
* number of digits in number is less than k, return
Common UI for Multiple web applications. Suppose there are
35 websites using same third party controls.These 3rd party
controls are made together that all 35 websites can use
these controls.If we put all 3rd party controls and use its
dll in 35 websites,only class files will be accessable. But
I want to use CSS,images also in all 35 websites. how I can
design the N-tier solution for this project.