The method for designing of digital baseband chip, GSM channel coding/decoding and implementation method
The method for designing of digital baseband chip, GSM channel coding/decoding and implementation method
 CN 101,932,127 B
 Filed: 06/23/2009
 Issued: 05/18/2016
 Est. Priority Date: 06/23/2009
 Status: Active Grant
First Claim
1. a method for designing that realizes GSM channel coding/decoding in digital baseband chip, is characterized in that, described methodComprise the following steps:
 (1) calculate input data information and the logic of exporting data message according to the protocol specification of GSM channel coding/decodingAssociated correspondence relationship information;
Comprise the following steps;
(11), according to the protocol specification of GSM channel coding/decoding, programme and calculate input data ratio by highlevel [computerThe corresponding line relation of logic association between spy and output data bit;
(12) according to described logic association corresponding relation, the input data bit sequence number corresponding with output data bit writeIn storage medium,(2) generate corresponding chip logic design code according to obtained logic association correspondence relationship information;
(3) described chip logic design code is converted to net table information, and burning enters in digital baseband chip;
DescribedThe protocol specification of GSM channel coding/decoding is GSM voice channel coding/decoding protocol specification;
Described GSM voice channel is compiledCode/decoding protocol specification is GSM voice channel TCH/EFS coding/decoding protocol specification,Logic association corresponding relation between described input data bit and output data bit specifically comprises;
(1) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC8;
(2) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC3;
(3) input data s bit and CRC CRC3 and the corresponding pass of logic association of exporting data first order u bitSystem;
(4) input data s bit and CRC CRC8 and the corresponding pass of logic association of exporting data second level d bitSystem.
Chinese PRB Reexamination
Abstract
The present invention relates to a kind of digital baseband chip, GSM channel coding/decoding method for designing and coding method, method for designing comprise according to protocol specification calculate input data information and output data message logic association corresponding relation, generating chip logical design code, chip logic design code is converted to net table information and burning enters digital baseband chip. In this chip, burning has net table information, and net table information is corresponding to the logic association corresponding relation of the input data information calculating according to protocol specification and output data message. Coding method comprises according to logic association corresponding relation and obtains successively CRC8 code, CRC3 code, first order u bit and second level d bit from input data s bit. Adopt this kind of digital baseband chip, GSM channel coding/decoding method for designing and coding method, save system resource, improve code efficiency, easy to verify, implementation procedure is quick and easy, stable and reliable working performance, it can be applied in GSM chnnel coding and decoding, and the scope of application is comparatively extensive.
8 Claims

1. a method for designing that realizes GSM channel coding/decoding in digital baseband chip, is characterized in that, described methodComprise the following steps:

(1) calculate input data information and the logic of exporting data message according to the protocol specification of GSM channel coding/decodingAssociated correspondence relationship information; Comprise the following steps; (11), according to the protocol specification of GSM channel coding/decoding, programme and calculate input data ratio by highlevel [computerThe corresponding line relation of logic association between spy and output data bit; (12) according to described logic association corresponding relation, the input data bit sequence number corresponding with output data bit writeIn storage medium, (2) generate corresponding chip logic design code according to obtained logic association correspondence relationship information; (3) described chip logic design code is converted to net table information, and burning enters in digital baseband chip;
DescribedThe protocol specification of GSM channel coding/decoding is GSM voice channel coding/decoding protocol specification;
Described GSM voice channel is compiledCode/decoding protocol specification is GSM voice channel TCH/EFS coding/decoding protocol specification,Logic association corresponding relation between described input data bit and output data bit specifically comprises; (1) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC8; (2) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC3; (3) input data s bit and CRC CRC3 and the corresponding pass of logic association of exporting data first order u bitSystem; (4) input data s bit and CRC CRC8 and the corresponding pass of logic association of exporting data second level d bitSystem.


2. in digital baseband chip according to claim 1, realize the method for designing of GSM channel coding/decoding, its featureBe, described storage medium is file.

3. in digital baseband chip according to claim 2, realize the method for designing of GSM channel coding/decoding, its featureBe, described generates corresponding chip logic design code according to logic association correspondence relationship information, comprises the following steps:

(21) from described file, read input data bit serial number information corresponding to output data bit by script; (22) generate corresponding chip logic design code according to input data bit serial number information corresponding to output data bit.


4. according to the design that realizes GSM channel coding/decoding in the digital baseband chip described in any one in claims 1 to 3Method, is characterized in that, described chip logic design code is VHDL code or Verilog code.

5. the number base belt carcass of realizing GSM channel coding/decoding obtaining by method for designing claimed in claim 1Sheet, is characterized in that, in described chip, burning has net table information, described net table information corresponding to according to GSM chnnel coding/The logic association correspondence relationship information of the input data information that the protocol specification of decoding calculates and output data message.

6. the digital baseband chip of realizing GSM channel coding/decoding according to claim 5, is characterized in that, describedThe protocol specification of GSM channel coding/decoding is GSM voice channel coding/decoding protocol specification, described input data information andThe logic association corresponding relation of output data message is the logic association correspondence between input data bit and output data bitRelation.

7. the digital baseband chip of realizing GSM channel coding/decoding according to claim 6, is characterized in that, describedGSM voice channel coding/decoding protocol specification is GSM voice channel TCH/EFS coding/decoding protocol specification, described inputLogic association corresponding relation between data bit and output data bit specifically comprises:

(1) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC8; (2) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC3; (3) input data s bit and CRC CRC3 and the corresponding pass of logic association of exporting data first order u bitSystem; (4) input data s bit and CRC CRC8 and the corresponding pass of logic association of exporting data second level d bitSystem.


8. utilize digital baseband chip described in claim 5 to realize a method for GSM chnnel coding, it is characterized in that instituteThe protocol specification of the GSM channel coding/decoding of stating is GSM voice channel TCH/EFS coding/decoding protocol specification, and described is defeatedThe logic association corresponding relation that enters data message and output data message is between input data bit and output data bitLogic association corresponding relation, specifically comprises:

(1) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC8; (2) the logic association corresponding relation of input data s bit and required each bit of calculating cyclic redundancy check code CRC3; (3) input data s bit and CRC CRC3 and the corresponding pass of logic association of exporting data first order u bitSystem; (4) input data s bit and CRC CRC8 and the corresponding pass of logic association of exporting data second level d bitSystem; Described method comprises the following steps; (1) corresponding according to the logic association of input data s bit each bit required with calculating cyclic redundancy check code CRC8Relation is taken out 65 c bits from input data s bit; (2) this c bit of 65 is delivered in the logicalarithmetic unit of CRC CRC8 as input data, calculatedObtain CRC8 code; (3) corresponding according to the logic association of input data s bit each bit required with calculating cyclic redundancy check code CRC3Relation is taken out the d bit of 50 from input data s bit; (4) this d bit of 50 is delivered in the logicalarithmetic unit of CRC CRC3 as input data, calculatedTo CRC3 code; (5) according to input data s bit and CRC CRC3 and the logic association pair of exporting data first order u bitShould be related to, obtain the first order u bit of 185 from the CRC3 code of inputting data s bit and calculated; (6) according to input data s bit and CRC CRC8 and the logic association pair of exporting data second level d bitShould be related to, from the CRC8 code of inputting data s bit and calculated, obtain the second level d bit of 78.

Specification(s)