CN105446908B - DRAM combination control method - Google Patents

DRAM combination control method Download PDF

Info

Publication number
CN105446908B
CN105446908B CN201410428860.5A CN201410428860A CN105446908B CN 105446908 B CN105446908 B CN 105446908B CN 201410428860 A CN201410428860 A CN 201410428860A CN 105446908 B CN105446908 B CN 105446908B
Authority
CN
China
Prior art keywords
dram
pcb
controller
control terminal
signal source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410428860.5A
Other languages
Chinese (zh)
Other versions
CN105446908A (en
Inventor
王大志
叶绍镇
陈派林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN201410428860.5A priority Critical patent/CN105446908B/en
Publication of CN105446908A publication Critical patent/CN105446908A/en
Application granted granted Critical
Publication of CN105446908B publication Critical patent/CN105446908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Dram (AREA)

Abstract

The invention discloses a kind of DRAM combination control methods, include the following steps: the DRAM according to needed for PCB, are configured according to the height DQ group exchange connection circuit of dram controller periphery to a piece of DRAM, or be combined to multi-disc DRAM;According to the combination of the set-up mode or multi-disc DRAM of the specification of one or more pieces DRAM and a piece of DRAM, signal source configuration is carried out to the first control terminal of dram controller.The specification of DRAM needed for it passes through PCB, a piece of DRAM is configured according to height DQ group exchange connection type, or after being combined to multi-disc DRAM, according to the specification and set-up mode of a piece of DRAM of selection, or the specification and combination of multi-disc DRAM, signal source configuration is carried out to the first control terminal of dram controller, so that the DRAM after combination meets the specification of required DRAM.Finally realize the purpose that the DRAM of a variety of different sizes can be compatible on same PCB.The compatibility for efficiently solving prior art limitation DRAM, is unfavorable for the problem of reducing the development cost of electronic system.

Description

DRAM combination control method
Technical field
The present invention relates to electronic fields, more particularly to a kind of DRAM combination control method.
Background technique
DRAM (Dynamic Random Access Memory, dynamic random access memory) is as high-speed high capacity Data storage carrier is essential component part in most of electronic system.The capacity of DRAM usually will affect Department of Electronics The runnability of system.
It is standardized according to JEDEC (solid state technology association), capacity, data bit width and address wire of DRAM etc. have different rule Lattice.And due to the market factor, the DRAM of different size, price variance is relatively large.As a PCB in electronic system After (Printed Circuit Board, printed circuit board) is carried out, it is typically only capable to corresponding based on ready-made PCB selection DRAM cannot select the lower DRAM of cost according to the market price, to limit the compatibility of DRAM, be unfavorable for reducing electronics The cost of system.
Summary of the invention
Based on this, it is necessary to for the prior art limitation DRAM compatibility, be unfavorable for reduce electronic system exploitation at This problem of, provides a kind of DRAM combination control method.
A kind of DRAM combination control method that purpose provides to realize the present invention, includes the following steps:
The DRAM according to needed for PCB, according to dram controller periphery height DQ group exchange connection circuit to a piece of DRAM into Row setting, or multi-disc DRAM is combined;
According to the group of the set-up mode or multi-disc DRAM of the specification of one or more pieces DRAM and a piece of DRAM Conjunction mode carries out signal source configuration to the first control terminal of the dram controller.
The height DQ group exchange connection circuit of the dram controller periphery includes the in one of the embodiments, One PCB encapsulation and the 2nd PCB encapsulation;
First PCB is encapsulated as double RANK settings, and the 2nd PCB is encapsulated as single RANK setting;
First chip selection signal end of the first PCB encapsulation is connect with the second control terminal of the dram controller;
Second chip selection signal end of the first PCB encapsulation and the chip selection signal end of the 2nd PCB encapsulation, with it is described First control terminal of dram controller connects;
The high-order input terminal of first PCB encapsulation and the low level input terminal of the 2nd PCB encapsulation, with the DRAM First output end of controller connects;
The low level input terminal of first PCB encapsulation and the high-order input terminal of the 2nd PCB encapsulation, with the DRAM The second output terminal of controller connects.
Multiple selector is set inside the dram controller in one of the embodiments,;
The first input end of the multiple selector is connect with the first internal signal sources of the dram controller;It is described more Second input terminal of road selector is connect with the second internal signal sources of the dram controller;
The output end of the multiple selector is connect with the first control terminal of the dram controller, passes through control multichannel choosing It selects device and signal source configuration is carried out to the first control terminal of the dram controller;
The signal source of second control terminal of the dram controller is first internal signal sources.
The specification of the DRAM needed for the PCB in one of the embodiments, are as follows: data bit width A is pressed when capacity is B Connection circuit is exchanged according to the height DQ group, is A by data bit width, a piece of DRAM that capacity B, RANK quantity is 2 is placed on The first PCB encapsulation;
It controls the multiple selector and configures described second for the signal source of the first control terminal of the dram controller Internal signal sources.
The specification of the DRAM needed for the PCB in one of the embodiments, are as follows: data bit width A is pressed when capacity is B Connection circuit is exchanged according to the height DQ group, is A by data bit width, a piece of DRAM that capacity B, RANK quantity is 1 is placed on The first PCB encapsulation;
It controls the multiple selector and configures described first for the signal source of the first control terminal of the dram controller Internal signal sources or second internal signal sources, or close the first control terminal of the dram controller.
The specification of the DRAM needed for the PCB in one of the embodiments, are as follows: data bit width A is pressed when capacity is B Connection circuit is exchanged according to the height DQ group, is A by data bit width, a piece of DRAM that capacity B, RANK quantity is 1 is placed on The 2nd PCB encapsulation;
It controls the multiple selector and configures described first for the signal source of the first control terminal of the dram controller Internal signal sources.
The specification of the DRAM needed for the PCB in one of the embodiments, are as follows: data bit width A is pressed when capacity is B Connection circuit is exchanged according to the height DQ group, is A by data bit width, the two panels DRAM that capacity C, RANK quantity is 1 is put respectively It sets in the first PCB encapsulation and the 2nd PCB encapsulation;
It controls the multiple selector and configures described second for the signal source of the first control terminal of the dram controller Internal signal sources;
Wherein, the C is equal to the half of the B.
The specification of the DRAM needed for the PCB in one of the embodiments, are as follows: data bit width A is pressed when capacity is B Connection circuit is exchanged according to the height DQ group, is D by data bit width, the two panels DRAM that capacity C, RANK quantity is 1 is put respectively Set the low level in the first PCB encapsulation and the low level of the 2nd PCB encapsulation;
It controls the multiple selector and configures described first for the signal source of the first control terminal of the dram controller Internal signal sources;
Wherein, the D is equal to the half of the A;The C is equal to the half of the B.
The value of the A in one of the embodiments, are as follows: 8 bits, 16 bits or 32 bits;The value of the B is 256MB, 512MB, 1GB or 2GB.
The DRAM is DDR1, DDR2, DDR3, LPDDR2 or LPDDR3 in one of the embodiments,.
Above-mentioned DRAM combination control method the utility model has the advantages that DRAM combination control method design first dram controller periphery Connection circuit be height DQ group exchange connection circuit, by DRAM needed for PCB, connected according to the height DQ group exchange of design electric Road is configured a piece of DRAM, or is combined to multi-disc DRAM.When according to height DQ group exchange connection type to a piece of or After multi-disc DRAM is combined, according to the set-up mode of the specification of one or more pieces DRAM of selection and a piece of DRAM or more The combination of piece DRAM carries out signal source configuration to the first control terminal of dram controller, so that the DRAM after combination meets The specification of required DRAM.Finally realize the purpose that the DRAM of a variety of different sizes can be compatible on same PCB.And And different DRAM can be selected for same PCB according to the market price, it is reduced costs in the selection of DRAM, effectively It solves the compatibility of prior art limitation DRAM, is unfavorable for the problem of reducing the development cost of electronic system.
Detailed description of the invention
Fig. 1 is one specific embodiment flow chart of DRAM combination control method;
Fig. 2 is the height DQ group exchange connection electricity of dram controller periphery in one specific embodiment of DRAM combination control method Road topological diagram;
Fig. 3 is dram controller internal wiring connection figure in one specific embodiment of DRAM combination control method.
Specific embodiment
To keep technical solution of the present invention clearer, the present invention is done further in detail below in conjunction with drawings and the specific embodiments It describes in detail bright.
Include the following steps: referring to Fig. 1 as the DRAM combination control method of a specific embodiment
Step S100, the DRAM according to needed for PCB, according to the height DQ group exchange connection circuit of dram controller periphery to one Piece DRAM is configured, or is combined to multi-disc DRAM.
Step S200, according to the set-up mode or multi-disc DRAM of the specification of one or more pieces DRAM and a piece of DRAM Combination carries out signal source configuration to the first control terminal of dram controller.
Its connection circuit for passing through design dram controller periphery first is height DQ group exchange connection circuit, realizes basis DRAM needed for PCB is combined one or more pieces DRAM according to the height DQ group exchange connection circuit of design.
After being combined according to height DQ group exchange connection type to one or more pieces DRAM, according to one or more pieces The combination of the specification of DRAM and one or more pieces DRAM carries out signal source to the first control terminal of dram controller and matches It sets.So that combination after DRAM meet needed for DRAM specification, finally realize can be compatible on same PCB it is a variety of not The DRAM of same specification.Achieve the purpose that select different DRAM for same PCB according to the market price.Its selection in DRAM On reduce costs, efficiently solve the compatibility of prior art limitation DRAM, be unfavorable for reducing the cost of electronic system Problem.
It should be noted that the first control terminal of dram controller include three control ports, respectively CS1, ODT1 and CKE1.Wherein, CS1 is piece choosing, and it is enabled that ODT1 is that on piece is cut off, and CKE1 is enabled for clock.The first of dram controller Control terminal is denoted as CS1/CKE1/ODT1.
Referring to fig. 2, as an embodiment, the height DQ group exchange connection circuit of dram controller periphery includes the One PCB encapsulates U1 and the 2nd PCB and encapsulates U2.
It should be noted that the RANK quantity of the first PCB encapsulation U1 is 2, i.e. it is double RANK settings that the first PCB, which encapsulates U1,. The RANK quantity that 2nd PCB encapsulates U2 is 1, i.e. the 2nd PCB encapsulates U2 as list RANK setting.
Since the first PCB encapsulation U1 is double RANK settings, the first PCB encapsulates chip selection signal end there are two U1 settings, Respectively the first chip selection signal end CS0 and the second chip selection signal end CS1.And the 2nd PCB encapsulation U2 is list RANK setting, therefore the A chip selection signal end CS0 is only arranged in two PCB encapsulation U2.
Wherein, the first PCB encapsulates the first chip selection signal end CS0 of U1 and the second control terminal CS0/ of dram controller CKE0/ODT0 connection.
First PCB encapsulate U1 the second chip selection signal end CS1 and the 2nd PCB encapsulation U2 chip selection signal end CS0, with First control terminal CS1/CKE1/ODT1 connection of dram controller.
Meanwhile the first PCB encapsulation U1 high-order input terminal and the 2nd PCB encapsulation U2 low level input terminal, with DRAM control First output end DQH connection of device processed.First PCB encapsulates the low level input terminal of U1 and the high-order input terminal of the 2nd PCB encapsulation U2, It is connect with the second output terminal DQL of dram controller.
First output end DQH of dram controller is as data high position output end, the second output terminal DQL of dram controller As data low level output end.Data high position output end by the way that dram controller is arranged encapsulates the height of U1 with the first PCB respectively The low level input terminal connection of position input terminal and the 2nd PCB encapsulation U2, the data low level output end of dram controller is respectively with first PCB encapsulates the high-order input terminal connection of the low level input terminal and the 2nd PCB encapsulation U2 of U1, forms height DQ group interactive connection side Formula.
In the present embodiment, it is 16 bits (bit) as the first PCB using data bit width and encapsulates U1 and the 2nd PCB encapsulation U2 A high position;It is that 8 bits encapsulate the low level that U1 and the 2nd PCB encapsulates U2 as the first PCB using data bit width.
It should be noted that it is 32 that a high position of the first PCB encapsulation U1 and the 2nd PCB encapsulation U2, which may be alternatively provided as data bit width, Bit, it is 16 bits that the low level of the first PCB encapsulation U1 and the 2nd PCB encapsulation U2, which is set as data bit width,.
Wherein, the first PCB encapsulates a high position of U1 and the 2nd PCB encapsulation U2 and low level and can be configured according to the actual situation, It is not limited to the above-mentioned set-up mode being previously mentioned.
Referring to Fig. 3, after being combined according to height DQ group exchange connection type to one or more pieces DRAM, according to DRAM Combination can be more by controlling when carrying out signal source configuration to the first control terminal CS1/CKE1/ODT1 of dram controller Road selector is realized.It is specific:
By the way that multiple selector, the first input end and dram controller of multiple selector are arranged inside dram controller The first internal signal sources CS0_i/CKE0_i/ODT0_i connection;Second input terminal of multiple selector and dram controller Second internal signal sources CS1_i/CKE1_i/ODT1_i connection.
Meanwhile the first control terminal CS1/CKE1/ODT1 connection of the output end and dram controller of multiple selector.Pass through Using the value of programming language (such as: C language) modification dram controller register, the dynamic of modification dram controller register is realized Make, and then realizes the purpose of control multiple selector.To the first control by control multiple selector to dram controller CS1/CKE1/ODT1 is held to carry out signal source configuration.
Wherein, the second control terminal CS0/CKE0/ODT0 of dram controller directly believes with the first inside of dram controller Number source CS0_i/CKE0_i/ODT0_i connection, thus by the signal source of the second control terminal CS0/CKE0/ODT0 of dram controller It is configured to the first internal signal sources CS0_i/CKE0_i/ODT0_i.
Above-mentioned multiple selector is set inside dram controller, by control multiple selector to the of dram controller One control terminal CS1/CKE1/ODT1 carries out signal source configuration, thus according to the first control terminal CS1/CKE1/ of dram controller Whether the signal source of the second control terminal CS0/CKE0/ODT0 of the signal source and dram controller of ODT1 is identical, to determine outside The RANK quantity that DRAM is used.
Such as: controllable multi-route selector configures the signal source of the first control terminal CS1/CKE1/ODT1 of dram controller For the first internal signal sources CS0_i/CKE0_i/ODT0_i.At this point, due to the second control terminal CSO/CKE0/ of dram controller The signal source of ODT0 is similarly the first internal signal sources CS0_i/CKE0_i/ODT0_i, therefore, the first control of dram controller The signal source of the signal source and the second control terminal CS0/CKE0/ODT0 of holding CS1/CKE1/ODT1 is same configuration.Thus connect respectively It is connected to the DRAM of the first control terminal CS1/CKE1/ODT1 of dram controller and is connected to the second control terminal of dram controller The signal that the DRAM of CS0/CKE0/ODT0 is received is just the same, then is single RANK application, i.e., the RANK number that external DRAM is used Amount is 1.
When control multiple selector configures for the signal source of the first control terminal CS1/CKE1/ODT1 of dram controller Two internal signal sources CS1_i/CKE1_i/ODT1_i, and the signal source of the second control terminal CS0/CKE0/ODT0 of dram controller It is then the first internal signal sources CS0_i/CKE0_i/ODT0_i.Therefore, the first control terminal CS1/CKE1/ of dram controller The signal source of ODT1 and the signal source of the second control terminal CS0/CKE0/ODT0 are different configurations.Thus it is connected respectively to DRAM control The DRAM of first control terminal CS1/CKE1/ODT1 of device processed and the second control terminal CS0/CKE0/ for being connected to dram controller The signal that the DRAM of ODT0 is received is unlike signal, then is double RANK application, i.e., the RANK quantity that external DRAM is used is 2.
It should be noted that DRAM can be DDR1, DDR2, DDR3, LPDDR2 (Low Power Double Date ) and LPDDR3 (Low Power Double Date Rate3) etc. Rate2.Wherein:
The type of DRAM mentioned herein is DDR1, DDR2, DDR3, LPDDR2 or LPDDR3 etc. only as of the invention Some preferred embodiments, but be not restricted to that above-mentioned five seed types being previously mentioned.Its other types for being equally applicable to DRAM.
Also, the specification of DRAM includes the RANK quantity of the data bit width of DRAM, the capacity of DRAM and DRAM.Wherein:
The value of the data bit width A of DRAM can be 8 bits, 16 bits or 32 bits.Equally, the data bit width of DRAM is also simultaneously It is not limited to three kinds of data bit widths noted earlier.
The capacity B of DRAM can be 256MB, 512MB, 1GB or 2GB.Similarly, the capacity B of DRAM be 256MB, 512MB, 1GB or 2GB is not limited to these examples also only as some preferred embodiments of the invention.
The RANK quantity of DRAM can be 1 or 2.
A piece of DRAM is configured when the height DQ group exchange according to dram controller periphery connects circuit, or to multi-disc After DRAM is combined, according to the group of the set-up mode or multi-disc DRAM of the specification of one or more pieces DRAM and a piece of DRAM Conjunction mode, when carrying out signal source configuration to the first control terminal CS1/CKE1/ODT1 of dram controller, detailed process are as follows:
The specification of the DRAM needed for PCB operation is that data bit width is A, set according to the present invention when capacity is the DRAM of B The height DQ group exchange connection circuit and dram controller built-in function principle of the dram controller periphery of meter, on same PCB Face can be compatible with following several application schemes simultaneously:
One, a piece of double RANK data bit widths are the DRAM that A (XA) capacity is B.
Two, a piece of list RANK data bit width is the DRAM that A (XA) capacity is B.
Three, two panels list RANK data bit width is the DRAM that A (XA) capacity is C.
Four, two panels list RANK data bit width is the DRAM that D (XD) capacity is C.
Wherein, D is equal to the half of A;C is equal to the half of B.
When selecting the first application scheme, connection circuit is exchanged according to height DQ group, is A by data bit width, capacity is The a piece of DRAM that B, RANK quantity are 2 is placed on the first PCB encapsulation.
Meanwhile it controlling multiple selector and configuring the second internal signal for the signal source of the first control terminal of dram controller Source.
When selecting second of application scheme, two kinds of settings can be carried out: a kind of are as follows: exchange connection electricity according to height DQ group Road, is A by data bit width, and a piece of DRAM that capacity B, RANK quantity is 1 is placed on the first PCB encapsulation.
Meanwhile it controlling multiple selector and configuring the first internal signal for the signal source of the first control terminal of dram controller Source or the second internal signal sources, or close the first control terminal of dram controller.
It is another are as follows: to exchange connection circuit according to height DQ group, be A by data bit width, capacity B, RANK quantity is 1 A piece of DRAM is placed on the 2nd PCB encapsulation.
Meanwhile it controlling multiple selector and configuring the first internal signal for the signal source of the first control terminal of dram controller Source.
When selecting the third application scheme, connection circuit is exchanged according to height DQ group, is A by data bit width, capacity is The two panels DRAM that C, RANK quantity are 1 is individually positioned in the first PCB encapsulation and the 2nd PCB encapsulation.
Meanwhile it controlling multiple selector and configuring the second internal signal for the signal source of the first control terminal of dram controller Source.
When selecting the 4th kind of application scheme, connection circuit is exchanged according to height DQ group, is D by data bit width, capacity is The two panels DRAM that C, RANK quantity are 1 is individually positioned in the low level of the first PCB encapsulation and the low level of the 2nd PCB encapsulation.
Meanwhile it controlling multiple selector and configuring the first internal signal for the signal source of the first control terminal of dram controller Source
Specifically, take data bit width as 16 bits of the specification of DRAM needed for PCB operation, for capacity is the DDR3 of 1GB, Further detailed description is done to DRAM combination control method.
The specification of the DRAM needed for PCB operation is that data bit width is 16 bits, when capacity is the DDR3 of 1GB, according to this The height DQ group exchange connection circuit and dram controller built-in function principle of the designed dram controller periphery of invention, same Above one PCB, it can be compatible with following several application schemes simultaneously:
One, a piece of double RANK data bit widths are the DDR3 that 16 bits (X16) capacity is 1GB.
Two, a piece of list RANK data bit width is the DDR3 that 16 bits (X16) capacity is 1GB.
Three, two panels list RANK data bit width is the DDR3 that 16 bits (X16) capacity is 512MB.
Four, two panels list RANK data bit width is the DDR3 that 8 bits (X8) capacity is 512MB.
When selecting the first application scheme, that is, select data bit width for 16 bits, capacity 1GB, RANK quantity is 2 When a piece of DDR3, connection circuit is exchanged according to height DQ group, which is placed on the first PCB encapsulation U1.
Meanwhile by controlling multiple selector for the signal source of the first control terminal CS1/CKE1/ODT1 of dram controller It is configured to the second internal signal sources CS1_i/CKE1_i/ODT1_i.Pass through the first control terminal CS1/CKE1/ of dram controller ODT1 configures the second internal signal sources CS1_i/CKE1_i/ODT1_i, the second control terminal CS0/CKE0/ODT0 of dram controller Signal source be the first internal signal sources CS0_i/CKE0_i/ODT0_i, realize that two groups of signals control the height of the DDR3 respectively RANK and low RANK, to realize the transmission of data.
When selecting second of application scheme, that is, select data bit width for 16 bits, capacity 1GB, RANK quantity is 1 When a piece of DDR3, connection circuit is exchanged according to height DQ group, which is placed on the first PCB encapsulation U1 or the 2nd PCB and is encapsulated U2.
When the DDR3 is placed on the first PCB encapsulation U1, since the RANK quantity of the first PCB encapsulation U1 is 2, It controls multiple selector and configures the first internal signal for the signal source of the first control terminal CS1/CKE1/ODT1 of dram controller Source CS0_i/CKE0_i/ODT0_i or the second internal signal sources CS1_i/CKE1_i/ODT1_i, or directly close DRAM First control terminal CS1/CKE1/ODT1 of controller.
When the DDR3 is placed on the 2nd PCB encapsulation U2, since the RANK quantity of the 2nd PCB encapsulation U2 is 1.Therefore, With the signal of the first control terminal CS1/CKE1/ODT1 of the chip selection signal end CS0 of the 2nd PCB encapsulation U2 dram controller connecting Source should be configured to the first internal signal sources CS0_i/CKE0_i/ODT0_i, and the 2nd PCB encapsulation U2 could be made effective.To make Obtain the specification of DRAM needed for can satisfy PCB operation when DDR3 is placed on a high position of the 2nd PCB encapsulation U2.Therefore, pass through Software programming, control multiple selector configure for the signal source of the first control terminal CS1/CKE1/ODT1 of dram controller One internal signal sources CS0_i/CKE0_i/ODT0_i.
When since the DDR3 being placed on the 2nd PCB encapsulation U2, it is necessary to be to the first control terminal of dram controller The signal source of CS1/CKE1/ODT1 configured, and when the DDR3 is placed on the first PCB encapsulation U1, then dram controller First control terminal CS1/CKE1/ODT1 can be without any processing, therefore the DDR3 is preferably placed on the first PCB encapsulation U1, It is 16 bits by data bit width, a piece of DRAM that capacity 1GB, RANK quantity is 1 is placed on the first PCB encapsulation.
When selecting the third application scheme, that is, select data bit width for 16 bits, capacity 512MB, RANK quantity is 1 Two panels DDR3 when, respectively by two panels DDR3 be placed on the first PCB encapsulation U1 and the 2nd PCB encapsulation U2 on.Due in the program, First PCB encapsulation U1 and the 2nd PCB encapsulation U2 high-low-position all can use arrive, and the first PCB encapsulation U1 and the 2nd PCB encapsulation U2 High-low-position there is the phenomenon that being connected to identical one group of signal, that is, being connected to the same output end of dram controller.
Such as: a high position of the first PCB encapsulation U1 and the low level of the 2nd PCB encapsulation U2 are connected to the first defeated of dram controller On outlet DQH.If the first PCB encapsulates U1 and the 2nd PCB encapsulation, U2 is effective simultaneously, inherently generates data collision.Therefore, It needs through the first internal signal sources CS0_i/CKE0_i/ODT0_i and the second internal signal sources CS1_i/CKE1_i/ODT1_i Two groups of signals, the first PCB of timesharing independent control encapsulate U1 and the 2nd PCB and encapsulate U2.
Again since the signal source of the second control terminal CS0/CKE0/ODT0 of dram controller is configured to the first internal signal sources CS0_i/CKE0_i/ODT0_i, therefore, by controlling multiple selector for the first control terminal CS1/CKE1/ of dram controller The signal source of ODT1 is configured to the second internal signal sources CS1_i/CKE1_i/ODT1_i, to realize the first of dram controller The 2nd PCB of the second control terminal CS0/CKE0/ODT0 timesharing independent control of control terminal CS1/CKE1/ODT1 and dram controller envelope It fills U2 and the first PCB and encapsulates U1.
When selecting the 4th kind of application scheme, that is, select data bit width for 8 bits, capacity 512MB, RANK quantity is 1 Two panels DDR3 when, respectively by two panels DDR3 be placed on the first PCB encapsulation U1 low level and the 2nd PCB encapsulation U2 low level.Together When, control multiple selector configures the signal source of the first control terminal CS1/CKE1/ODT1 of dram controller to inside first Signal source CS0_i/CKE0_i/ODT0_i.
By configuring the first internal signal sources for the signal source of the first control terminal CS1/CKE1/ODT1 of dram controller CS0_i/CKE0_i/ODT0_i, controlling the 2nd PCB encapsulation U2 by the first control terminal CS1/CKE1/ODT1 of dram controller has Effect.Meanwhile it is effective simultaneously by the second control terminal CS0/CKE0/ODT0 of dram controller control the first PCB encapsulation U1.And then it is real Show the first output end DQH and second output terminal DQL of dram controller while being encapsulated at the low level of U2 to the 2nd PCB is placed on The DDR3 and DDR3 being placed at the low level of the first PCB encapsulation U1 carries out the transmission of data, and data bit width needed for meeting PCB is 16 bits, capacity are the requirement of the DRAM of 1GB.
In conclusion the DRAM combination control method as a specific embodiment, passes through design dram controller periphery Connect circuit be height DQ group connect circuit, simultaneously for dram controller inside setting multiple selector, realize for The specification of DRAM needed for same PCB can be combined by the DRAM of a variety of different sizes, to meet the requirement of PCB.It reaches Any hardware modifications, the purpose of compatible a variety of different DRAM combinations can not be done on same PCB by having arrived.Most final decline The low development cost of electronic system.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (9)

1. a kind of DRAM combination control method, which comprises the steps of:
The DRAM according to needed for PCB sets a piece of DRAM according to the height DQ group exchange connection circuit of dram controller periphery It sets, or multi-disc DRAM is combined;
According to the combination side of the set-up mode or multi-disc DRAM of the specification of one or more pieces DRAM and a piece of DRAM Formula carries out signal source configuration to the first control terminal of the dram controller;
Connection circuit by designing dram controller periphery is that height DQ group exchanges connecting link, is realized according to needed for PCB DRAM is combined one or more pieces DRAM according to the height DQ group switched circuit of design;
The height DQ group exchange connection circuit of the dram controller periphery includes the first PCB encapsulation and the 2nd PCB encapsulation;
First PCB is encapsulated as double RANK settings, and the 2nd PCB is encapsulated as single RANK setting;
First chip selection signal end of the first PCB encapsulation is connect with the second control terminal of the dram controller;
Second chip selection signal end of the first PCB encapsulation and the chip selection signal end of the 2nd PCB encapsulation, with the DRAM First control terminal of controller connects;
The high-order input terminal of the first PCB encapsulation and the low level input terminal of the 2nd PCB encapsulation, control with the DRAM First output end of device connects;
The low level input terminal of the first PCB encapsulation and the high-order input terminal of the 2nd PCB encapsulation, control with the DRAM The second output terminal of device connects.
2. DRAM combination control method according to claim 1, which is characterized in that setting is more inside the dram controller Road selector;
The first input end of the multiple selector is connect with the first internal signal sources of the dram controller;The multichannel choosing The second input terminal for selecting device is connect with the second internal signal sources of the dram controller;
The output end of the multiple selector is connect with the first control terminal of the dram controller, by controlling multiple selector Signal source configuration is carried out to the first control terminal of the dram controller;
The signal source of second control terminal of the dram controller is first internal signal sources.
3. DRAM combination control method according to claim 2, which is characterized in that the specification of the DRAM needed for the PCB Are as follows: data bit width A, capacity be B when, according to the height DQ group exchange connection circuit, by data bit width be A, capacity B, The a piece of DRAM that RANK quantity is 2 is placed on the first PCB encapsulation;
The multiple selector is controlled to configure the signal source of the first control terminal of the dram controller to inside described second Signal source.
4. DRAM combination control method according to claim 2, which is characterized in that the specification of the DRAM needed for the PCB Are as follows: data bit width A, capacity be B when, according to the height DQ group exchange connection circuit, by data bit width be A, capacity B, The a piece of DRAM that RANK quantity is 1 is placed on the first PCB encapsulation;
The multiple selector is controlled to configure the signal source of the first control terminal of the dram controller to inside described first Signal source or second internal signal sources, or close the first control terminal of the dram controller.
5. DRAM combination control method according to claim 2, which is characterized in that the specification of the DRAM needed for the PCB Are as follows: data bit width A, capacity be B when, according to the height DQ group exchange connection circuit, by data bit width be A, capacity B, The a piece of DRAM that RANK quantity is 1 is placed on the 2nd PCB encapsulation;
The multiple selector is controlled to configure the signal source of the first control terminal of the dram controller to inside described first Signal source.
6. DRAM combination control method according to claim 2, which is characterized in that the specification of the DRAM needed for the PCB Are as follows: data bit width A, capacity be B when, according to the height DQ group exchange connection circuit, by data bit width be A, capacity C, The two panels DRAM that RANK quantity is 1 is individually positioned in the first PCB encapsulation and the 2nd PCB encapsulation;
The multiple selector is controlled to configure the signal source of the first control terminal of the dram controller to inside described second Signal source;
Wherein, the C is equal to the half of the B.
7. DRAM combination control method according to claim 2, which is characterized in that the specification of the DRAM needed for the PCB Are as follows: data bit width A, capacity be B when, according to the height DQ group exchange connection circuit, by data bit width be D, capacity C, The two panels DRAM that RANK quantity is 1 is individually positioned in the low level of the first PCB encapsulation and the low level of the 2nd PCB encapsulation;
The multiple selector is controlled to configure the signal source of the first control terminal of the dram controller to inside described first Signal source;
Wherein, the D is equal to the half of the A;The C is equal to the half of the B.
8. according to the described in any item DRAM combination control methods of claim 3 to 7, which is characterized in that the value of the A are as follows: 8 Bit, 16 bits or 32 bits;The value of the B is 256MB, 512MB, 1GB or 2GB.
9. DRAM combination control method according to claim 1, which is characterized in that the DRAM be DDR1, DDR2, DDR3, LPDDR2 or LPDDR3.
CN201410428860.5A 2014-08-27 2014-08-27 DRAM combination control method Active CN105446908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410428860.5A CN105446908B (en) 2014-08-27 2014-08-27 DRAM combination control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410428860.5A CN105446908B (en) 2014-08-27 2014-08-27 DRAM combination control method

Publications (2)

Publication Number Publication Date
CN105446908A CN105446908A (en) 2016-03-30
CN105446908B true CN105446908B (en) 2018-12-21

Family

ID=55557131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410428860.5A Active CN105446908B (en) 2014-08-27 2014-08-27 DRAM combination control method

Country Status (1)

Country Link
CN (1) CN105446908B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716147A (en) * 2004-06-07 2006-01-04 恩益禧电子股份有限公司 Hierarchical module
CN101044465A (en) * 2004-10-29 2007-09-26 三星电子株式会社 Multichip system and method of transferring data therein
CN101876944A (en) * 2009-11-26 2010-11-03 威盛电子股份有限公司 DRAM (Dynamic Random Access Memory) controller and control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716147A (en) * 2004-06-07 2006-01-04 恩益禧电子股份有限公司 Hierarchical module
CN101044465A (en) * 2004-10-29 2007-09-26 三星电子株式会社 Multichip system and method of transferring data therein
CN101876944A (en) * 2009-11-26 2010-11-03 威盛电子股份有限公司 DRAM (Dynamic Random Access Memory) controller and control method

Also Published As

Publication number Publication date
CN105446908A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN106663458B (en) DRAM device, the method for terminating in DRAM device, the equipment to terminate for input/output
US10431292B2 (en) Method and apparatus for controlling access to a common bus by multiple components
CN101715593B (en) Memory system topologies including a buffer device and an integrated circuit memory device
CN108831512A (en) Load reduced memory module
US8380943B2 (en) Variable-width memory module and buffer
CN102866683B (en) Signal conversion device and automatic testing system
CN107818062A (en) A kind of hard disk backboard and its design method of compatible SAS, SATA and NVME hard disk
CN104409099B (en) High speed eMMC array control units based on FPGA
CN203054679U (en) Printed circuit board (PCB) main board
CN106649162A (en) Pci-Express multi-port aggregation system and use method thereof
CN105446908B (en) DRAM combination control method
CN104980144B (en) Frequency interface device and its operating method
EP3049942B1 (en) Mapping memory controller connectors to memory connectors
CN103207819B (en) A kind of storage device and mixing storage device thereof
JP2021099892A (en) On-die termination technology based on dynamic proximity
CN102237867B (en) Semiconductor module including module control circuit and method for controlling the same
CN107507637B (en) Low-power-consumption dual-in-line memory and enhanced driving method thereof
CN102543189A (en) Semiconductor memory, interface circuit and access method thereof
US9377957B2 (en) Method and apparatus for latency reduction
CN105446922B (en) A kind of pcb board and device being compatible with different bit wide DDR
CN105632545A (en) 3D memory chip
CN201290199Y (en) Circuit board
CN109542836A (en) A kind of SOC chip and embedded system of integrated dual processor
CN201303315Y (en) Novel filter programmer
CN109935578A (en) Twin-core chip package

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant