-
Use the verilog language write a MIPS CPU code, and have additional instruction, for example: selection sort instruction.
The code has contain combination circuit and sequenial circuit.
CPU have contain ALU, ADD, ALU_CONTROL, DATA_MEMORY, INST_MEMORY, REGISTER, PC, and TESTBRANCH.
標(biāo)簽:
instruction
additional
language
example
上傳時(shí)間:
2014-01-17
上傳用戶:yyyyyyyyyy
-
How to Use Tables With the JTable (in the API reference documentation) class you can display tables of data, optionally allowing the user to edit the data. JTable doesn t contain or cache data it s simply a view of your data. Here s a picture of a typical table displayed within a scroll pane
標(biāo)簽:
documentation
the
reference
display
上傳時(shí)間:
2013-12-23
上傳用戶:ayfeixiao
-
很好的linux內(nèi)核調(diào)試軟件 兼轅馬,沒有密碼。
The ia64 and ix86 directories contain versions of kdb prior to v2.0
(kdb version v2.0, not the kernel version). Older versions of kdb had
complete patches for each architecture it supported, each patch included
all the common kdb code. This format was awkward to maintain and use
for multiple platforms.
Starting with kdb v2.0 there is a common patch against each kernel which
contains all the architecture independent code plus separate architecture
dependent patches. Either use an old style (v1.8 or v1.9) kdb patch or
use a new style (v2.0) common patch plus the corresponding architecture
dependent patch.
標(biāo)簽:
linux
內(nèi)核
調(diào)試軟件
上傳時(shí)間:
2014-01-21
上傳用戶:wyc199288
-
This toolbox contains Matlab code for several graph and mesh partitioning methods, including geometric, spectral, geometric spectral, and coordinate bisection. It also has routines to generate recursive multiway partitions, vertex separators, and nested dissection orderings and it has some sample meshes and mesh generators.
The toolbox contains a Matlab interface to Leland and Hendrickson s Chaco partitioning package, but it doesn t contain Chaco itself. The file "chaco/README" tells how to install the interface to Chaco. It also contains a Matlab interface to Karypis et al. s Metis partitioning package, using Robert Bridson s "metismex" code.
標(biāo)簽:
partitioning
including
contains
toolbox
上傳時(shí)間:
2015-05-25
上傳用戶:tzl1975
-
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d .
Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet.
Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1.
Definition
標(biāo)簽:
government
streamline
important
alphabet
上傳時(shí)間:
2015-06-09
上傳用戶:weixiao99
-
Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
標(biāo)簽:
connection
pool
applications
program
上傳時(shí)間:
2013-12-25
上傳用戶:playboys0
-
ARM7硬件說明與開發(fā)
The ARM7 is a low-power, general purpose 32-bit RISC microprocessor macrocell for use in application or
customer-specific integrated circuts (ASICs or CSICs). Its simple, elegant and fully static design is
particularly suitable for cost and power-sensitive applications. The ARM7’s small die size makes it ideal for
integrating into a larger custom chip that could also contain RAM, ROM, logic, DSP and other cells.
標(biāo)簽:
ARM7
microprocessor
low-power
macrocell
上傳時(shí)間:
2013-12-17
上傳用戶:3到15
-
Implemented BFS, DFS and A*
To compile this project, use the following command:
g++ -o search main.cpp
Then you can run it:
./search
The input is loaded from a input file in.txt
Here is the format of the input file:
The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm.
The second line of input file shoud be an integer m indicate the number of connections for the map.
Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist.
The following input are for A*
The following line contains two chars indicate the source and destination city for A* algorithm.
Then there is an integer h indicate the number of heuristic.
The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
標(biāo)簽:
Implemented
following
compile
command
上傳時(shí)間:
2014-01-01
上傳用戶:lhc9102
-
Problem Statement
You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substring of input. In case of a tie, return the string that occurs earliest in input.
Definition
Class: ReverseSubstring
Method: findReversed
Parameters: string
Returns: string
Method signature: string findReversed(string input)
(be sure your method is public)
Notes
The substring and its reversal may overlap partially or completely.
The entire original string is itself a valid substring (see example 4).
Constraints
input will contain between 1 and 50 characters, inclusive.
Each character of input will be an uppercase letter ( A - Z ).
Examples
0)
"XBCDEFYWFEDCBZ"
Returns: "BCDEF"
We see that the reverse of BCDEF is FEDCB, which appears later in the string.
1)
標(biāo)簽:
input
Statement
You
are
上傳時(shí)間:
2015-09-21
上傳用戶:sunjet
-
THE SYNTAX OF A PROGRAMMING LANGUAGE tells you what code it is possible
to write—what the machine will understand. Style tells you what you ought to write—
what the humans reading the code will understand. Code written with a consistent, simple
style will be maintainable, robust, and contain fewer bugs. Code written with no regard to
style will contain more bugs. It may simply be thrown away and rewritten rather than
maintained.
標(biāo)簽:
what
PROGRAMMING
LANGUAGE
possible
上傳時(shí)間:
2013-12-16
上傳用戶:sxdtlqqjl