A two-port ternary content addressable memory, TCAM including a two-port TCAM cell comprising: a first storage unit (100_1), configured to store a first bit of a content data, wherein the first storage unit comprises a first storage node and a first inverted storage node; a second storage unit (100_2), configured to store a second bit of the content data, wherein the second storage unit comprises a second storage node and a second inverted storage node; a set of first search terminals, configured to input a first search data into the two-port TCAM cell ; a set of second search terminals, configured to input a second search data into the two-port TCAM cell ; a first comparison circuit (120_a), respectively coupled and connected to the first storage node of the first storage unit (100_1), the second storage node of the second storage unit (100_2) and the set of first search terminals, configured to determine whether the first search data matches the content data and accordingly generate a first determination result; a second comparison circuit (120_b), respectively coupled and connected to the first inverted storage node of the first storage unit (100_1), the second inverted storage node of the second storage unit (100_2) and the set of second search terminals, configured to determine whether the second search data matches the content data and accordingly generate a second determination result; a first match terminal (ML_a), coupled to the first comparison circuit (100_a), configured to output the first determination result; and a second match terminal (ML_b), coupled to the second comparison circuit (120_b), configured to output the second determination result; wherein the two-port TCAM is configured such that the first search data and the second search data are concurrently inputted into the two-port TCAM cell , and the first determination result and the second determination result are concurrently outputted. a first storage unit (100_1), configured to store a first bit of a content data, wherein the first storage unit comprises a first storage node and a first inverted storage node; a second storage unit (100_2), configured to store a second bit of the content data, wherein the second storage unit comprises a second storage node and a second inverted storage node; a set of first search terminals, configured to input a first search data into the two-port TCAM cell ; a set of second search terminals, configured to input a second search data into the two-port TCAM cell ; a first comparison circuit (120_a), respectively coupled and connected to the first storage node of the first storage unit (100_1), the second storage node of the second storage unit (100_2) and the set of first search terminals, configured to determine whether the first search data matches the content data and accordingly generate a first determination result; a second comparison circuit (120_b), respectively coupled and connected to the first inverted storage node of the first storage unit (100_1), the second inverted storage node of the second storage unit (100_2) and the set of second search terminals, configured to determine whether the second search data matches the content data and accordingly generate a second determination result; a first match terminal (ML_a), coupled to the first comparison circuit (100_a), configured to output the first determination result; and a second match terminal (ML_b), coupled to the second comparison circuit (120_b), configured to output the second determination result; wherein the two-port TCAM is configured such that the first search data and the second search data are concurrently inputted into the two-port TCAM cell , and the first determination result and the second determination result are concurrently outputted. <EOS>